summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-05-06 23:16:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:51:28 -0500
commit675ecdd5babbcf2d87e807e21375a4c0d81dfa14 (patch)
tree547cef0695259b57c887e1593a08faae267956cc /source3/nsswitch
parent835eaa42cafb14a76195f6eaa2236f255cd56dda (diff)
downloadsamba-675ecdd5babbcf2d87e807e21375a4c0d81dfa14.tar.gz
samba-675ecdd5babbcf2d87e807e21375a4c0d81dfa14.tar.bz2
samba-675ecdd5babbcf2d87e807e21375a4c0d81dfa14.zip
r539: Mem leak fixes from kawasa_r@itg.hitachi.co.jp
Jeremy. (This used to be commit 8fe47b0bf27a8ae690ab0fcff377c8fc12919f43)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_wins.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_wins.c b/source3/nsswitch/winbindd_wins.c
index 59d600d1ea..6b37e5bcf4 100644
--- a/source3/nsswitch/winbindd_wins.c
+++ b/source3/nsswitch/winbindd_wins.c
@@ -106,6 +106,7 @@ static struct in_addr *lookup_byname_backend(const char *name, int *count)
for ( i=0; i<(*count); i++ )
return_ip[i] = ret[i].ip;
+ free( ret );
return return_ip;
}