git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f62197
)
nwrap: Fix the build on Solaris
author
Andreas Schneider
<asn@samba.org>
Mon, 23 Nov 2015 07:33:02 +0000
(08:33 +0100)
committer
Michael Adam
<obnox@samba.org>
Mon, 11 Jan 2016 11:25:32 +0000
(12:25 +0100)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
lib/nss_wrapper/nss_wrapper.c
patch
|
blob
|
history
diff --git
a/lib/nss_wrapper/nss_wrapper.c
b/lib/nss_wrapper/nss_wrapper.c
index be977dfad96c138fb3b7500e22ae9a076234a7c2..a080b808f54b112932f6f17a684f7560eb60bb2e 100644
(file)
--- a/
lib/nss_wrapper/nss_wrapper.c
+++ b/
lib/nss_wrapper/nss_wrapper.c
@@
-5578,7
+5578,9
@@
void nwrap_destructor(void)
}
free(user_addrlist.items);
+#ifdef HAVE_GETHOSTBYNAME2
free(user_addrlist2.items);
+#endif
hdestroy();
NWRAP_UNLOCK_ALL;