mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 14:42:10 +01:00
gio-querymodules: fix memory leak
Spotted thanks to ASAN. https://bugzilla.gnome.org/show_bug.cgi?id=778207 Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
aebcb15a9b
commit
73c5e927d5
@ -119,6 +119,7 @@ query_dir (const char *dirname)
|
||||
g_printerr ("Unable to unlink %s: %s\n", cachename, g_strerror (errno));
|
||||
}
|
||||
|
||||
g_free (cachename);
|
||||
g_string_free (data, TRUE);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user