diff options
author | Emanuele Giaquinta <exg@irssi.org> | 2008-05-27 18:19:34 +0000 |
---|---|---|
committer | exg <exg@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-05-27 18:19:34 +0000 |
commit | a01f13202f6fb06e4fd23d28e02c5ff8d42a19d2 (patch) | |
tree | 17a8149d3325273f0a6921defc28a6d672e8822c /src | |
parent | 647c3cb4da4c40ed1373be0fab2a43b83f9692e8 (diff) | |
download | irssi-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.c | 4 |
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(); } |