--- gtk+-2.10.4/gtk/gtkicontheme.c.icon-theme-crash 2006-08-15 14:25:35.000000000 -0400 +++ gtk+-2.10.4/gtk/gtkicontheme.c 2006-12-04 12:46:15.000000000 -0500 @@ -950,6 +950,8 @@ if (!dirs) { g_warning ("Theme file for %s has no directories\n", theme_name); + priv->themes = g_list_remove (priv->themes, theme); + g_free (theme->name); g_free (theme->display_name); g_free (theme); g_key_file_free (theme_file);