projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e52b4a
)
fix 2 mem leaks
author
Dana Jansens
<danakj@orodu.net>
Sun, 14 Sep 2003 21:10:30 +0000
(21:10 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 14 Sep 2003 21:10:30 +0000
(21:10 +0000)
render/theme.c
patch
|
blob
|
history
diff --git
a/render/theme.c
b/render/theme.c
index
ac80d19
..
907fd0b
100644
(file)
--- 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);
}
}