From 772b187618db9ebc8f9bd68041369db8f9f00db5 Mon Sep 17 00:00:00 2001 From: daniel Date: Tue, 5 Feb 2013 01:05:33 +0900 Subject: Add an unref to the queue --- flash.c | 1 + 1 file changed, 1 insertion(+) 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) -- cgit