Commit 68960935 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Assert that object is busy when we call unbusy


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@489 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent c79009f7
......@@ -128,6 +128,7 @@ HSH_Unbusy(struct object *o)
struct sess *sp;
assert(o != NULL);
assert(o->busy);
assert(o->refcnt > 0);
if (o->cacheable)
EXP_Insert(o);
......
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