diff options
Diffstat (limited to 'source3/nsswitch/wins.c')
-rw-r--r-- | source3/nsswitch/wins.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/wins.c b/source3/nsswitch/wins.c index 35649dfda2..e74cfaf69f 100644 --- a/source3/nsswitch/wins.c +++ b/source3/nsswitch/wins.c @@ -110,6 +110,7 @@ static struct in_addr *lookup_byname_backend(const char *name, int *count) } if (address[0].ss.ss_family != AF_INET) { free(address); + free(ret); return NULL; } *ret = ((struct sockaddr_in *)&address[0].ss)->sin_addr; |