From 813d0d17a65be2ecb5961a96630d11a195ce6a67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Fri, 5 Feb 2010 01:14:20 +0000 Subject: [PATCH] Don't leak filename in g_io_modules_scan_all_in_directory https://bugzilla.gnome.org/show_bug.cgi?id=608159 --- gio/giomodule.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gio/giomodule.c b/gio/giomodule.c index ae832253b..236ee2f44 100644 --- a/gio/giomodule.c +++ b/gio/giomodule.c @@ -382,6 +382,8 @@ g_io_modules_scan_all_in_directory (const char *dirname) g_dir_close (dir); g_hash_table_destroy (cache); + + g_free (filename); }