From 86ef11e7565957f21871f1002f55275f10b23ea1 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Mon, 23 May 2016 14:45:43 +0200 Subject: [PATCH] Prevent another memory leak --- runloop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/runloop.c b/runloop.c index 2056c0195e..c13f77915c 100644 --- a/runloop.c +++ b/runloop.c @@ -1049,6 +1049,7 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data) #ifdef HAVE_THREADS threaded_enable = settings->threaded_data_runloop_enable; #endif + task_queue_ctl(TASK_QUEUE_CTL_DEINIT, NULL); task_queue_ctl(TASK_QUEUE_CTL_INIT, &threaded_enable); } break;