Commit 3a2ea1ee authored by Poul-Henning Kamp's avatar Poul-Henning Kamp Committed by Pål Hermunn Johansen

Pointlessly fix a resource-leak in bail-out path, spotted by Coverity.

parent e6f46cf3
......@@ -225,6 +225,8 @@ vcc_acl_try_getaddrinfo(struct vcc *tl, struct acl_e *ae)
res->ai_family, PF(ae->t_addr));
continue;
}
if (tl->err)
freeaddrinfo(res0);
ERRCHK(tl);
}
freeaddrinfo(res0);
......
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