diff --git a/ChangeLog b/ChangeLog index a8d60d224..6642c2410 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-01-27 Matthias Claesen + + * src/core/prefs.c: Free name of old theme when new theme + is loaded. + 2009-01-27 Matthias Claesen * src/ui/ui.c: free the result of gdk_text_property_to_utf8_list() diff --git a/src/core/prefs.c b/src/core/prefs.c index 2a2e8e904..1f4fe4102 100644 --- a/src/core/prefs.c +++ b/src/core/prefs.c @@ -1333,6 +1333,8 @@ theme_name_handler (MetaPreference pref, const gchar *string_value, gboolean *inform_listeners) { + g_free (current_theme); + /* Fallback crackrock */ if (string_value == NULL) current_theme = g_strdup ("Atlanta");