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
This commit is contained in:
Jasper St. Pierre 2013-01-10 16:15:38 -05:00
parent e5317cc7a0
commit 9b34545bd5

View File

@ -5467,6 +5467,8 @@ meta_theme_create_style_context (GdkScreen *screen,
GTK_STYLE_PROVIDER_PRIORITY_SETTINGS); GTK_STYLE_PROVIDER_PRIORITY_SETTINGS);
} }
g_free (theme_name);
return style; return style;
} }