Commit 9254972b authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Use FREE_OBJ() instead of just free() when freeing miniobjs.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1569 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent caba8d48
......@@ -258,7 +258,7 @@ HSH_Deref(struct object *o)
free(o->vary);
HSH_Freestore(o);
free(o);
FREE_OBJ(o);
VSL_stats->n_object--;
if (oh == NULL)
......@@ -269,7 +269,7 @@ HSH_Deref(struct object *o)
assert(TAILQ_EMPTY(&oh->objects));
MTX_DESTROY(&oh->mtx);
VSL_stats->n_objecthead--;
free(oh);
FREE_OBJ(oh);
}
void
......
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