mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05: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:
parent
b8375d471f
commit
1ee25967d8
@ -439,7 +439,7 @@ void window_bind_remove_unsticky(WINDOW_REC *window)
|
|||||||
{
|
{
|
||||||
GSList *tmp, *next;
|
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;
|
WINDOW_BIND_REC *rec = tmp->data;
|
||||||
|
|
||||||
next = tmp->next;
|
next = tmp->next;
|
||||||
|
Loading…
Reference in New Issue
Block a user