mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Fix leak.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4851 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
647c3cb4da
commit
a01f13202f
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user