From: Federico Mena Quintero Date: Mon, 27 Oct 2008 20:42:32 +0000 (+0000) Subject: Fix leak inside g_local_file_get_parse_name() X-Git-Tag: GLIB_2_19_1~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b46b2a43bee252846d271483fdec6a55f59dea4;p=platform%2Fupstream%2Fglib.git Fix leak inside g_local_file_get_parse_name() Signed-off-by: Federico Mena Quintero svn path=/trunk/; revision=7629 --- diff --git a/gio/ChangeLog b/gio/ChangeLog index edd5272..cdac28c 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,3 +1,7 @@ +2008-10-27 Federico Mena Quintero + + * glocalfile.c (g_local_file_get_parse_name): Don't leak roundtripped_filename. + 2008-10-27 Tor Lillqvist Bug 557592 - Missing include in gwinhttpfile.c diff --git a/gio/glocalfile.c b/gio/glocalfile.c index eec7480..7f16823 100644 --- a/gio/glocalfile.c +++ b/gio/glocalfile.c @@ -431,6 +431,8 @@ g_local_file_get_parse_name (GFile *file) g_free (utf8_filename); utf8_filename = NULL; } + + g_free (roundtripped_filename); } }