Don't leak filename in g_io_modules_scan_all_in_directory

https://bugzilla.gnome.org/show_bug.cgi?id=608159
This commit is contained in:
Tim-Philipp Müller 2010-02-05 01:14:20 +00:00 committed by Tim-Philipp Müller
parent 4adde81771
commit 813d0d17a6

View File

@ -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);
}