mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 14:42:10 +01:00
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:
parent
4adde81771
commit
813d0d17a6
@ -382,6 +382,8 @@ g_io_modules_scan_all_in_directory (const char *dirname)
|
|||||||
g_dir_close (dir);
|
g_dir_close (dir);
|
||||||
|
|
||||||
g_hash_table_destroy (cache);
|
g_hash_table_destroy (cache);
|
||||||
|
|
||||||
|
g_free (filename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user