diff options
author | Volker Lendecke <vl@samba.org> | 2010-04-24 12:40:10 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-04-24 12:41:47 +0200 |
commit | 4c7cc8bb6303e9f976cdb87e2c00849ac46f8f02 (patch) | |
tree | 750e586de4e2629a298c07431ffe7e7cd41814bd | |
parent | dbb7db6c2532bb18674c6acea27688f22c41efb8 (diff) | |
download | samba-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.
-rw-r--r-- | nsswitch/wbinfo.c | 2 |
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; |