[master] 9500bd7 Also delete the mutex.

Poul-Henning Kamp phk at FreeBSD.org
Thu May 21 19:00:12 CEST 2015


commit 9500bd79d2c6a154f40729d58fb03ee789591da4
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Thu May 21 16:59:52 2015 +0000

    Also delete the mutex.

diff --git a/bin/varnishd/waiter/cache_waiter_kqueue.c b/bin/varnishd/waiter/cache_waiter_kqueue.c
index f5452ac..e7dfdcf 100644
--- a/bin/varnishd/waiter/cache_waiter_kqueue.c
+++ b/bin/varnishd/waiter/cache_waiter_kqueue.c
@@ -180,6 +180,7 @@ vwk_fini(struct waiter *w)
 	vwk->kq = -1;
 	Lck_Unlock(&vwk->mtx);
 	AZ(pthread_join(vwk->thread, &vp));
+	Lck_Delete(&vwk->mtx);
 }
 
 /*--------------------------------------------------------------------*/



More information about the varnish-commit mailing list