X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Ftheme.c;h=b4d869182daa23da08c16ca76fdd8532310aced9;hb=1d267613a3c3423d00150a9ba778f229385cd03e;hp=97f5e1f5865df388219777d742fa36814b43e658;hpb=cb7752cd1f48cbb9de4b3fa5062fa44e8d584701;p=chaz%2Fopenbox diff --git a/render/theme.c b/render/theme.c index 97f5e1f5..b4d86918 100644 --- a/render/theme.c +++ b/render/theme.c @@ -95,6 +95,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name, theme = g_new0(RrTheme, 1); theme->inst = inst; + theme->name = g_strdup(name); theme->a_disabled_focused_max = RrAppearanceNew(inst, 1); theme->a_disabled_unfocused_max = RrAppearanceNew(inst, 1); @@ -1192,6 +1193,8 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name, void RrThemeFree(RrTheme *theme) { if (theme) { + g_free(theme->name); + RrColorFree(theme->menu_border_color); RrColorFree(theme->frame_focused_border_color); RrColorFree(theme->frame_unfocused_border_color);