mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
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:
parent
e5317cc7a0
commit
9b34545bd5
@ -5467,6 +5467,8 @@ meta_theme_create_style_context (GdkScreen *screen,
|
||||
GTK_STYLE_PROVIDER_PRIORITY_SETTINGS);
|
||||
}
|
||||
|
||||
g_free (theme_name);
|
||||
|
||||
return style;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user