diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2010-02-05 01:14:20 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-02-06 13:37:04 +0100 |
commit | 813d0d17a65be2ecb5961a96630d11a195ce6a67 (patch) | |
tree | 4f1b9031ea41c8960fb651aa0ca5cc27b31ac411 /gio/giomodule.c | |
parent | 4adde81771f5a4471a568a409a38fd9162d49418 (diff) | |
download | glib-813d0d17a65be2ecb5961a96630d11a195ce6a67.tar.gz glib-813d0d17a65be2ecb5961a96630d11a195ce6a67.tar.bz2 glib-813d0d17a65be2ecb5961a96630d11a195ce6a67.zip |
Don't leak filename in g_io_modules_scan_all_in_directory
https://bugzilla.gnome.org/show_bug.cgi?id=608159
Diffstat (limited to 'gio/giomodule.c')
-rw-r--r-- | gio/giomodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |