summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/thread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/thread.c b/lib/thread.c
index d8be32e2b..621eed0ff 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);