[SCM] NSS Wrapper Repository - branch master updated
Michael Adam
obnox at samba.org
Fri Nov 20 08:55:50 UTC 2015
The branch, master has been updated
via 23a7a85 nwrap: Don't leak memory from gethostbyname*() functions
from 3ddf857 nwrap: Fix the build on FreeBSD
https://git.samba.org/?p=nss_wrapper.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit 23a7a85a7688f1c6948db55eacb1101ba808d6db
Author: Andreas Schneider <asn at samba.org>
Date: Fri Nov 20 09:38:16 2015 +0100
nwrap: Don't leak memory from gethostbyname*() functions
Signed-off-by: Andreas Schneider <asn at samba.org>
Reviewed-by: Michael Adam <obnox at samba.org>
-----------------------------------------------------------------------
Summary of changes:
src/nss_wrapper.c | 3 +++
1 file changed, 3 insertions(+)
Changeset truncated at 500 lines:
diff --git a/src/nss_wrapper.c b/src/nss_wrapper.c
index a8c97e1..be977df 100644
--- a/src/nss_wrapper.c
+++ b/src/nss_wrapper.c
@@ -5577,6 +5577,9 @@ void nwrap_destructor(void)
nwrap_he_global.num = 0;
}
+ free(user_addrlist.items);
+ free(user_addrlist2.items);
+
hdestroy();
NWRAP_UNLOCK_ALL;
}
--
NSS Wrapper Repository
More information about the samba-cvs
mailing list