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

Avoid a double free when we encounter a 'include' directive.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1972 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent c03952c5
......@@ -461,9 +461,6 @@ vcc_resolve_includes(struct tokenlist *tl)
TAILQ_REMOVE(&tl->tokens, t, list);
TAILQ_REMOVE(&tl->tokens, t1, list);
TAILQ_REMOVE(&tl->tokens, t2, list);
vcc_FreeToken(t);
vcc_FreeToken(t1);
vcc_FreeToken(t2);
if (!tl->err)
vcc_resolve_includes(tl);
return;
......
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