from cnt_deliver():
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;
isn't this redundant? In the PASS case, there are no other references
to the object, and HSH_Deref() will call HSH_Freestore().
DES
--
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no
_______________________________________________
varnish-dev mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-dev