summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEmanuele Giaquinta <exg@irssi.org>2008-05-27 18:19:34 +0000
committerexg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564>2008-05-27 18:19:34 +0000
commita01f13202f6fb06e4fd23d28e02c5ff8d42a19d2 (patch)
tree17a8149d3325273f0a6921defc28a6d672e8822c /src
parent647c3cb4da4c40ed1373be0fab2a43b83f9692e8 (diff)
downloadirssi-a01f13202f6fb06e4fd23d28e02c5ff8d42a19d2.zip
Fix leak.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4851 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r--src/fe-text/mainwindow-activity.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-text/mainwindow-activity.c b/src/fe-text/mainwindow-activity.c
index 06028d0b..3a084110 100644
--- a/src/fe-text/mainwindow-activity.c
+++ b/src/fe-text/mainwindow-activity.c
@@ -33,13 +33,13 @@ static void sig_activity(WINDOW_REC *window)
return;
window->data_level = 0;
- window->hilight_color = 0;
+ g_free_and_null(window->hilight_color);
for (tmp = window->items; tmp != NULL; tmp = tmp->next) {
WI_ITEM_REC *item = tmp->data;
item->data_level = 0;
- item->hilight_color = 0;
+ g_free_and_null(item->hilight_color);
}
signal_stop();
}