- removed free from failed parse case.

git-svn-id: file:///svn/unbound/trunk@4640 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2018-04-20 14:10:55 +00:00
parent 0b21483b17
commit 5bee11a6d3
2 changed files with 1 additions and 1 deletions

View file

@ -1,5 +1,6 @@
20 April 2018: Wouter
- man page documentation for dns-over-tls forward-addr '#' notation.
- removed free from failed parse case.
19 April 2018: Wouter
- Can set tls authentication with forward-addr: IP#tls.auth.name

View file

@ -260,7 +260,6 @@ int netblockstrtoaddr(const char* str, int port, struct sockaddr_storage* addr,
s = buf;
}
if(!ipstrtoaddr(s?s:str, port, addr, addrlen)) {
free(s);
log_err("cannot parse ip address: '%s'", str);
return 0;
}