1
0
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:
Philipp Schafft 2015-01-18 17:26:07 +00:00
parent 7e4650138e
commit cc613d405f

View File

@ -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;
} }