From 9b34545bd529ff8ab3c1ac3fbc4696f7ca32aad0 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Thu, 10 Jan 2013 16:15:38 -0500 Subject: [PATCH] theme: Fix a memory leak Commit 5c33b0d tried to copy/paste the code that constructed classes, but for some reason didn't copy the theme name. https://bugzilla.gnome.org/show_bug.cgi?id=690317 --- src/ui/theme.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui/theme.c b/src/ui/theme.c index e4516b37e..f68fadc55 100644 --- a/src/ui/theme.c +++ b/src/ui/theme.c @@ -5467,6 +5467,8 @@ meta_theme_create_style_context (GdkScreen *screen, GTK_STYLE_PROVIDER_PRIORITY_SETTINGS); } + g_free (theme_name); + return style; }