summaryrefslogtreecommitdiff
path: root/flash.c
diff options
context:
space:
mode:
authordaniel <danieruru@gmail.com>2013-02-05 01:05:33 +0900
committerdaniel <danieruru@gmail.com>2013-02-05 01:05:33 +0900
commit772b187618db9ebc8f9bd68041369db8f9f00db5 (patch)
tree32ba31b2f82be349e603e7a46a801f9effd0980c /flash.c
parentc9995a7bd5f73c4b9be99bf5d44db541fdc087bd (diff)
Add an unref to the queue
Diffstat (limited to 'flash.c')
-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)