Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

Commit

Permalink
Clear reference to backend when we release our VCL reference.
Browse files Browse the repository at this point in the history
git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@779 d4fa192b-c00b-0410-8231-f00ffab90ce4
  • Loading branch information
dag-erling committed Aug 9, 2006
1 parent b7cba38 commit 1679fe5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/varnishd/cache_center.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1679fe5

Please sign in to comment.