summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/flash.c b/flash.c
index c5d5244..e909d7c 100644
--- a/flash.c
+++ b/flash.c
@@ -890,6 +890,7 @@ void stopFlashWriterThread(){
alive = false;
g_cond_broadcast(&writerwakeup);
g_thread_join(userflashwritethread); // block until the write thread is totally finished.
+ g_async_queue_unref(userflashwritequeue);
}
void fixFlash(FlashStruct *mem)