mirror of
https://github.com/irssi/irssi.git
synced 2025-04-26 04:51:11 -05: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;
|
return;
|
||||||
|
|
||||||
window->data_level = 0;
|
window->data_level = 0;
|
||||||
window->hilight_color = 0;
|
g_free_and_null(window->hilight_color);
|
||||||
|
|
||||||
for (tmp = window->items; tmp != NULL; tmp = tmp->next) {
|
for (tmp = window->items; tmp != NULL; tmp = tmp->next) {
|
||||||
WI_ITEM_REC *item = tmp->data;
|
WI_ITEM_REC *item = tmp->data;
|
||||||
|
|
||||||
item->data_level = 0;
|
item->data_level = 0;
|
||||||
item->hilight_color = 0;
|
g_free_and_null(item->hilight_color);
|
||||||
}
|
}
|
||||||
signal_stop();
|
signal_stop();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user