Commit 7bb6676b authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

The call to HSH_Freestore() is redundant; in pass mode, there are no other

references to the object, so HSH_Deref() will free its storage.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1475 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 4a5e0e8e
......@@ -140,10 +140,6 @@ cnt_deliver(struct sess *sp)
{
RES_WriteObj(sp);
if (sp->obj->objhead != NULL && sp->obj->pass) {
/* we will no longer need the storage */
HSH_Freestore(sp->obj);
}
HSH_Deref(sp->obj);
sp->obj = NULL;
sp->step = STP_DONE;
......
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