summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-04-24 12:40:10 +0200
committerVolker Lendecke <vl@samba.org>2010-04-24 12:41:47 +0200
commit4c7cc8bb6303e9f976cdb87e2c00849ac46f8f02 (patch)
tree750e586de4e2629a298c07431ffe7e7cd41814bd /nsswitch
parentdbb7db6c2532bb18674c6acea27688f22c41efb8 (diff)
downloadsamba-4c7cc8bb6303e9f976cdb87e2c00849ac46f8f02.tar.gz
samba-4c7cc8bb6303e9f976cdb87e2c00849ac46f8f02.tar.bz2
samba-4c7cc8bb6303e9f976cdb87e2c00849ac46f8f02.zip
Revert "nsswitch: Fix a memleak in wbinfo"
This reverts commit a97f2a0a9c0f1c148a0152202296bb078103b40c. This was not a memleak, it was a valgrind false positive. We store "details" in a static.
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/wbinfo.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c
index ca1fefb606..e57630991c 100644
--- a/nsswitch/wbinfo.c
+++ b/nsswitch/wbinfo.c
@@ -72,8 +72,6 @@ static char winbind_separator(void)
sep = details->winbind_separator;
got_sep = true;
- wbcFreeMemory(details);
-
if (!sep) {
d_fprintf(stderr, "winbind separator was NULL!\n");
return 0;