From 54dfc33a49ae80cb0f188600382659d9d9ce8d38 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: Thu, 28 Feb 2002 16:45:37 +0000 Subject: [PATCH] Fix memory leak. (#72990, Paoloo Maggi) Thu Feb 28 11:13:49 2002 Owen Taylor * glib/gshell.c (g_shell_unquote): Fix memory leak. (#72990, Paoloo Maggi) --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-12 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ glib/gshell.c | 1 + 9 files changed, 41 insertions(+) diff --git a/ChangeLog b/ChangeLog index 7e7c13a..5d815c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Feb 28 11:13:49 2002 Owen Taylor + + * glib/gshell.c (g_shell_unquote): Fix memory leak. + (#72990, Paoloo Maggi) + 2002-02-28 Sven Neumann * m4macros/glib-2.0.m4: nicer output of configure --help. diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 7e7c13a..5d815c7 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Thu Feb 28 11:13:49 2002 Owen Taylor + + * glib/gshell.c (g_shell_unquote): Fix memory leak. + (#72990, Paoloo Maggi) + 2002-02-28 Sven Neumann * m4macros/glib-2.0.m4: nicer output of configure --help. diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 7e7c13a..5d815c7 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Thu Feb 28 11:13:49 2002 Owen Taylor + + * glib/gshell.c (g_shell_unquote): Fix memory leak. + (#72990, Paoloo Maggi) + 2002-02-28 Sven Neumann * m4macros/glib-2.0.m4: nicer output of configure --help. diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 7e7c13a..5d815c7 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +Thu Feb 28 11:13:49 2002 Owen Taylor + + * glib/gshell.c (g_shell_unquote): Fix memory leak. + (#72990, Paoloo Maggi) + 2002-02-28 Sven Neumann * m4macros/glib-2.0.m4: nicer output of configure --help. diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 7e7c13a..5d815c7 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Thu Feb 28 11:13:49 2002 Owen Taylor + + * glib/gshell.c (g_shell_unquote): Fix memory leak. + (#72990, Paoloo Maggi) + 2002-02-28 Sven Neumann * m4macros/glib-2.0.m4: nicer output of configure --help. diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 7e7c13a..5d815c7 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Thu Feb 28 11:13:49 2002 Owen Taylor + + * glib/gshell.c (g_shell_unquote): Fix memory leak. + (#72990, Paoloo Maggi) + 2002-02-28 Sven Neumann * m4macros/glib-2.0.m4: nicer output of configure --help. diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 7e7c13a..5d815c7 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Thu Feb 28 11:13:49 2002 Owen Taylor + + * glib/gshell.c (g_shell_unquote): Fix memory leak. + (#72990, Paoloo Maggi) + 2002-02-28 Sven Neumann * m4macros/glib-2.0.m4: nicer output of configure --help. diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 7e7c13a..5d815c7 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Thu Feb 28 11:13:49 2002 Owen Taylor + + * glib/gshell.c (g_shell_unquote): Fix memory leak. + (#72990, Paoloo Maggi) + 2002-02-28 Sven Neumann * m4macros/glib-2.0.m4: nicer output of configure --help. diff --git a/glib/gshell.c b/glib/gshell.c index 7a2c70a..08318fd 100644 --- a/glib/gshell.c +++ b/glib/gshell.c @@ -305,6 +305,7 @@ g_shell_unquote (const gchar *quoted_string, } } + g_free (unquoted); return g_string_free (retval, FALSE); error: -- 2.7.4