diff options
Diffstat (limited to 'render/theme.c')
| -rw-r--r-- | render/theme.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |
