From c677ddc9b7c2d38540fe7a61de49f0030cf57cb7 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 5 Jul 2006 10:55:46 +0000 Subject: [PATCH] Don't leak objects headers git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@320 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/cache_hash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/varnish-cache/bin/varnishd/cache_hash.c b/varnish-cache/bin/varnishd/cache_hash.c index 7f1068cc..19707ccc 100644 --- a/varnish-cache/bin/varnishd/cache_hash.c +++ b/varnish-cache/bin/varnishd/cache_hash.c @@ -123,6 +123,7 @@ HSH_Deref(struct object *o) return; assert(TAILQ_EMPTY(&oh->objects)); AZ(pthread_mutex_destroy(&oh->mtx)); + free(oh->header); free(oh); } -- 2.39.5