Commit 7d416fec authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Fix a use-after-free bug. (#316256, Alexander Nedotsukov)

2005-09-14  Matthias Clasen  <mclasen@redhat.com>

	* gtk/updateiconcache.c (foreach_remove_func): Fix
	a use-after-free bug.  (#316256, Alexander Nedotsukov)
parent 463aab93
2005-09-14 Matthias Clasen <mclasen@redhat.com>
* gtk/updateiconcache.c (foreach_remove_func): Fix
a use-after-free bug. (#316256, Alexander Nedotsukov)
2005-09-13 Matthias Clasen <mclasen@redhat.com>
* gtk/*.c: Various cleanups. (#315360, Kjartan Maraas)
......
2005-09-14 Matthias Clasen <mclasen@redhat.com>
* gtk/updateiconcache.c (foreach_remove_func): Fix
a use-after-free bug. (#316256, Alexander Nedotsukov)
2005-09-13 Matthias Clasen <mclasen@redhat.com>
* gtk/*.c: Various cleanups. (#315360, Kjartan Maraas)
......
......@@ -144,9 +144,9 @@ foreach_remove_func (gpointer key, gpointer value, gpointer user_data)
if (image->flags == HAS_ICON_FILE)
{
g_free (key);
g_free (image);
g_free (image->attach_points);
g_strfreev (image->display_names);
g_free (image);
return TRUE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment