diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2007-10-12 04:31:04 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-10-12 04:31:04 +0000 |
commit | 030529e04b549051aae7d045f4a3d925420ec16a (patch) | |
tree | cb88af85b16550dc58a298ce9677e9e5cef10599 /gtk/updateiconcache.c | |
parent | 2e74eec2f7396e9f77748e302ffebf67a8b61162 (diff) | |
download | gtk+-030529e04b549051aae7d045f4a3d925420ec16a.tar.gz |
Avoid double-free problems
svn path=/trunk/; revision=18906
Diffstat (limited to 'gtk/updateiconcache.c')
-rw-r--r-- | gtk/updateiconcache.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/gtk/updateiconcache.c b/gtk/updateiconcache.c index d44d93e5e0..45d0cf00ef 100644 --- a/gtk/updateiconcache.c +++ b/gtk/updateiconcache.c @@ -199,13 +199,6 @@ typedef struct guint icon_data_size; } Image; -static void -free_icon_data (IconData *icon_data) -{ - g_free (icon_data->attach_points); - g_strfreev (icon_data->display_names); - g_free (icon_data); -} static gboolean foreach_remove_func (gpointer key, gpointer value, gpointer user_data) @@ -219,7 +212,6 @@ foreach_remove_func (gpointer key, gpointer value, gpointer user_data) { /* just a .icon file, throw away */ g_free (key); - free_icon_data (image->icon_data); g_free (image); return TRUE; |