From 7796a684bfba731fbbd4bba7d909c1af57eb6073 Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Thu, 30 May 2002 09:29:34 +0000 Subject: [PATCH] don't leak the paths. 2002-05-24 Michael Meeks * gtk/gtkmain.c (_gtk_find_module): don't leak the paths. --- ChangeLog | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ ChangeLog.pre-2-2 | 4 ++++ ChangeLog.pre-2-4 | 4 ++++ ChangeLog.pre-2-6 | 4 ++++ ChangeLog.pre-2-8 | 4 ++++ gtk/gtkmain.c | 3 +-- 7 files changed, 25 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index bcb7b38a0d..8f8f4be594 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-05-24 Michael Meeks + + * gtk/gtkmain.c (_gtk_find_module): don't leak the paths. + Thu May 30 07:59:38 2002 Soeren Sandmann * gtk/gtkmenu.c (gtk_menu_style_set): add diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index bcb7b38a0d..8f8f4be594 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,7 @@ +2002-05-24 Michael Meeks + + * gtk/gtkmain.c (_gtk_find_module): don't leak the paths. + Thu May 30 07:59:38 2002 Soeren Sandmann * gtk/gtkmenu.c (gtk_menu_style_set): add diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index bcb7b38a0d..8f8f4be594 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,7 @@ +2002-05-24 Michael Meeks + + * gtk/gtkmain.c (_gtk_find_module): don't leak the paths. + Thu May 30 07:59:38 2002 Soeren Sandmann * gtk/gtkmenu.c (gtk_menu_style_set): add diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index bcb7b38a0d..8f8f4be594 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,7 @@ +2002-05-24 Michael Meeks + + * gtk/gtkmain.c (_gtk_find_module): don't leak the paths. + Thu May 30 07:59:38 2002 Soeren Sandmann * gtk/gtkmenu.c (gtk_menu_style_set): add diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index bcb7b38a0d..8f8f4be594 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,7 @@ +2002-05-24 Michael Meeks + + * gtk/gtkmain.c (_gtk_find_module): don't leak the paths. + Thu May 30 07:59:38 2002 Soeren Sandmann * gtk/gtkmenu.c (gtk_menu_style_set): add diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index bcb7b38a0d..8f8f4be594 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,7 @@ +2002-05-24 Michael Meeks + + * gtk/gtkmain.c (_gtk_find_module): don't leak the paths. + Thu May 30 07:59:38 2002 Soeren Sandmann * gtk/gtkmenu.c (gtk_menu_style_set): add diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c index 68917b4007..e9b059983c 100644 --- a/gtk/gtkmain.c +++ b/gtk/gtkmain.c @@ -438,9 +438,8 @@ _gtk_find_module (const gchar *name, g_free(tmp_name); } - g_strfreev (paths); - found: + g_strfreev (paths); return module_name; }