Commit 2f10e040 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Fix a memoryleak relating to hash strings, found by: Arjan (noosius).



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2614 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 7c50b26c
......@@ -383,6 +383,7 @@ HSH_Deref(struct object *o)
assert(VTAILQ_EMPTY(&oh->objects));
MTX_DESTROY(&oh->mtx);
VSL_stats->n_objecthead--;
free(oh->hash);
FREE_OBJ(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