]> err.no Git - varnish/commitdiff
Don't leak objects headers
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 5 Jul 2006 10:55:46 +0000 (10:55 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 5 Jul 2006 10:55:46 +0000 (10:55 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@320 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/cache_hash.c

index 7f1068cc9bec64dbc94343989b9b324e4425bf70..19707ccc8ba7d211b151b9c380e4e1346f2a2850 100644 (file)
@@ -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);
 }