From 5f79588de07754ef112abac33535a34624b3b078 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 28 Dec 2010 17:08:57 +0100 Subject: Fix a memleak in nss_wins --- nsswitch/wins.c | 1 + 1 file changed, 1 insertion(+) (limited to 'nsswitch/wins.c') diff --git a/nsswitch/wins.c b/nsswitch/wins.c index 276724dc36..7a49565f2d 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; } } -- cgit