From: Dana Jansens Date: Sun, 14 Sep 2003 21:10:30 +0000 (+0000) Subject: fix 2 mem leaks X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=e60dd0259a02c319780dbde3e657e281c3fd8e22;p=chaz%2Fopenbox fix 2 mem leaks --- 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); } }