Fixed 2 small memory leaks.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2209 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-12-07 04:27:32 +00:00 committed by cras
commit 5bab99f096
2 changed files with 3 additions and 0 deletions

View file

@ -515,6 +515,7 @@ STATUSBAR_REC *statusbar_create(STATUSBAR_GROUP_REC *group,
if (*value == '\0') {
/* fallback to default statusbar background
(also provides backwards compatibility..) */
g_free(value);
value = theme_format_expand(theme, "{sb_background}");
}
}