[gtk+] Don't leak the theme name



commit e3df44c6f79adba1c97b4a32b8fc93911a098d98
Author: William Jon McCann <william jon mccann gmail com>
Date:   Fri Feb 21 15:13:17 2014 -0500

    Don't leak the theme name

 gtk/gtksettings.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtksettings.c b/gtk/gtksettings.c
index 5bfb60c..3182cea 100644
--- a/gtk/gtksettings.c
+++ b/gtk/gtksettings.c
@@ -3023,6 +3023,7 @@ settings_update_theme (GtkSettings *settings)
   if (g_file_test (path, G_FILE_TEST_EXISTS))
     gtk_settings_load_from_key_file (settings, path, GTK_SETTINGS_SOURCE_THEME);
 
+  g_free (theme_name);
   g_free (theme_dir);
   g_free (path);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]