mirror of
https://gitlab.xiph.org/xiph/icecast-server.git
synced 2024-12-04 14:46:30 -05:00
Fix: do not release events that are still in the queue
This commit is contained in:
parent
7e4650138e
commit
cc613d405f
@ -161,6 +161,7 @@ static void *event_run_thread (void *arg) {
|
|||||||
if (event_queue) {
|
if (event_queue) {
|
||||||
event = event_queue;
|
event = event_queue;
|
||||||
event_queue = event_queue->next;
|
event_queue = event_queue->next;
|
||||||
|
event->next = NULL;
|
||||||
} else {
|
} else {
|
||||||
event = NULL;
|
event = NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user