Commit 7590f1a9 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Grap reference count on backend used by name in directors.

Fixes ticket 263



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@2808 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 37d20f0c
......@@ -238,6 +238,7 @@ vcc_ParseBackendHost(struct tokenlist *tl, int *nbh, const struct token *qual, i
vcc_ErrWhere(tl, tl->t);
return;
}
vcc_AddRef(tl, h->name, R_BACKEND);
vcc_NextToken(tl);
ExpectErr(tl, ';');
vcc_NextToken(tl);
......
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