mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue