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

Just in case.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1008 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 48086865
......@@ -62,8 +62,10 @@ vbe_lookup(struct backend *bp)
struct addrinfo *res, hint;
int error;
if (bp->addr != NULL)
if (bp->addr != NULL) {
freeaddrinfo(bp->addr);
bp->addr = NULL;
}
memset(&hint, 0, sizeof hint);
hint.ai_family = PF_UNSPEC;
......
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