summaryrefslogtreecommitdiff
path: root/render/theme.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-09-14 21:10:30 +0000
committerDana Jansens <danakj@orodu.net>2003-09-14 21:10:30 +0000
commite60dd0259a02c319780dbde3e657e281c3fd8e22 (patch)
tree6c2a3265ba8ed7e64b0346e511580ae2eca123e7 /render/theme.c
parent1e52b4ac28ba728f234de74b0287b2dc7af8de30 (diff)
fix 2 mem leaks
Diffstat (limited to 'render/theme.c')
-rw-r--r--render/theme.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/render/theme.c b/render/theme.c
index ac80d19b..907fd0b5 100644
--- a/render/theme.c
+++ b/render/theme.c
@@ -924,6 +924,7 @@ RrTheme* RrThemeNew(const RrInstance *inst, gchar *name)
void RrThemeFree(RrTheme *theme)
{
if (theme) {
+ g_free(theme->path);
g_free(theme->name);
RrColorFree(theme->b_color);
@@ -1051,6 +1052,8 @@ void RrThemeFree(RrTheme *theme)
RrAppearanceFree(theme->app_unhilite_fg);
RrAppearanceFree(theme->app_hilite_label);
RrAppearanceFree(theme->app_unhilite_label);
+
+ g_free(theme);
}
}