diff --git a/nsswitch/wins.c b/nsswitch/wins.c index 276724dc36f..7a49565f2dd 100644 --- a/nsswitch/wins.c +++ b/nsswitch/wins.c @@ -152,6 +152,7 @@ static struct in_addr *lookup_byname_backend(const char *name, int *count) return NULL; } *ret = ((struct sockaddr_in *)pss)->sin_addr; + SAFE_FREE(pss); break; } }