diff options
Diffstat (limited to 'libc')
-rw-r--r-- | libc/inet/resolv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c index 97e3a3897..aef1f7935 100644 --- a/libc/inet/resolv.c +++ b/libc/inet/resolv.c @@ -698,6 +698,7 @@ int dns_lookup(const char *name, int type, int nscount, char **nsip, *outpacket = packet; else free(packet); + free(lookup); return (0); /* success! */ tryall: |