Commit 951155ea authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Don't leak objects headers


git-svn-id: http://www.varnish-cache.org/svn/trunk@320 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent ef1d4e83
...@@ -123,6 +123,7 @@ HSH_Deref(struct object *o) ...@@ -123,6 +123,7 @@ HSH_Deref(struct object *o)
return; return;
assert(TAILQ_EMPTY(&oh->objects)); assert(TAILQ_EMPTY(&oh->objects));
AZ(pthread_mutex_destroy(&oh->mtx)); AZ(pthread_mutex_destroy(&oh->mtx));
free(oh->header);
free(oh); free(oh);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment