summaryrefslogtreecommitdiff
path: root/src/fe-text/statusbar.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-12-07 04:27:32 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-12-07 04:27:32 +0000
commit5bab99f096fa7497785a98e0538fcb367b93ddbf (patch)
tree30a641c2e128eb5383e63d8b26111758887e554c /src/fe-text/statusbar.c
parentd59dfd54b3c18a2fdb1bc74815083cfd88845a2c (diff)
downloadirssi-5bab99f096fa7497785a98e0538fcb367b93ddbf.zip
Fixed 2 small memory leaks.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2209 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-text/statusbar.c')
-rw-r--r--src/fe-text/statusbar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-text/statusbar.c b/src/fe-text/statusbar.c
index b1eb1454..75aec846 100644
--- a/src/fe-text/statusbar.c
+++ b/src/fe-text/statusbar.c
@@ -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}");
}
}