diff options
author | Volker Lendecke <vl@samba.org> | 2010-12-28 17:08:57 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-12-28 17:11:34 +0100 |
commit | 5f79588de07754ef112abac33535a34624b3b078 (patch) | |
tree | f4a47785c4a930633d268ebfcf3d33f14c0e37bd | |
parent | 181cd3281c4f2c53dc507f59d281a2517579cfe1 (diff) | |
download | samba-5f79588de07754ef112abac33535a34624b3b078.tar.gz |
Fix a memleak in nss_wins
-rw-r--r-- | nsswitch/wins.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; } } |