[gtk+] Don't leak the theme name
- From: William Jon McCann <mccann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Don't leak the theme name
- Date: Fri, 21 Feb 2014 20:22:48 +0000 (UTC)
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]