mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-11-26 10:49:21 +00:00
don't deref desc after deleting it!
This commit is contained in:
parent
c2c88efcc3
commit
eebe0b0c13
@ -324,7 +324,7 @@ void TimerReset(void)
|
|||||||
while (desc) {
|
while (desc) {
|
||||||
TMDesc *next = desc->next;
|
TMDesc *next = desc->next;
|
||||||
delete desc;
|
delete desc;
|
||||||
desc = desc->next;
|
desc = next;
|
||||||
}
|
}
|
||||||
tmDescList = NULL;
|
tmDescList = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user