Commit 5949741c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Delete the right list item.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@503 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 0ad643c6
......@@ -87,8 +87,8 @@ SES_RefSrcAddr(struct sess *sp)
c3 = c;
continue;
}
TAILQ_REMOVE(ch, c2, list);
free(c2);
TAILQ_REMOVE(ch, c, list);
free(c);
VSL_stats->n_srcaddr--;
}
if (c3 == 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