[master] 47586588f Dont double-free the director-lock
Poul-Henning Kamp
phk at FreeBSD.org
Wed Apr 21 10:59:05 UTC 2021
commit 47586588fccde1869a8bec76001406fc6ebb0b84
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Wed Apr 21 10:58:30 2021 +0000
Dont double-free the director-lock
diff --git a/bin/varnishd/cache/cache_backend.c b/bin/varnishd/cache/cache_backend.c
index 3225e1f6d..c86a70a0b 100644
--- a/bin/varnishd/cache/cache_backend.c
+++ b/bin/varnishd/cache/cache_backend.c
@@ -446,7 +446,6 @@ vbe_free(struct backend *be)
#undef DN
free(be->endpoint);
- Lck_Delete(be->director->mtx);
FREE_OBJ(be);
}
More information about the varnish-commit
mailing list