From 33844bbe43866bfc0b7a50d41d88dfff27b4a75a Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Mon, 25 Sep 2017 16:01:08 -0400 Subject: [PATCH] lib: destroy threadmaster condition variable Signed-off-by: Quentin Young --- lib/thread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/thread.c b/lib/thread.c index d8be32e2bd..621eed0ff0 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -567,6 +567,7 @@ void thread_master_free(struct thread_master *m) thread_list_free(m, &m->ready); thread_list_free(m, &m->unuse); pthread_mutex_destroy(&m->mtx); + pthread_cond_destroy(&m->cancel_cond); close(m->io_pipe[0]); close(m->io_pipe[1]); list_delete(m->cancel_req); -- 2.39.5