Commit 1679fe52 authored by Dag Erling Smørgrav's avatar Dag Erling Smørgrav

Clear reference to backend when we release our VCL reference.

git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@779 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent b7cba38f
......@@ -99,6 +99,7 @@ cnt_done(struct sess *sp)
assert(sp->vbc == NULL);
if (sp->fd >= 0 && sp->doclose != NULL)
vca_close_session(sp, sp->doclose);
sp->backend = NULL;
VCL_Rel(sp->vcl);
sp->vcl = NULL;
......
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