1
0
mirror of https://github.com/irssi/irssi.git synced 2024-09-29 04:45:57 -04:00

window_bind_remove_unsticky(): crashfix

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1246 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-02-19 02:26:32 +00:00 committed by cras
parent b8375d471f
commit 1ee25967d8

View File

@ -439,7 +439,7 @@ void window_bind_remove_unsticky(WINDOW_REC *window)
{
GSList *tmp, *next;
for (tmp = window->bound_items; tmp != NULL; tmp = tmp->next) {
for (tmp = window->bound_items; tmp != NULL; tmp = next) {
WINDOW_BIND_REC *rec = tmp->data;
next = tmp->next;