git.samba.org
/
amitay
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbb7db6
)
Revert "nsswitch: Fix a memleak in wbinfo"
author
Volker Lendecke
<vl@samba.org>
Sat, 24 Apr 2010 10:40:10 +0000
(12:40 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sat, 24 Apr 2010 10:41:47 +0000
(12:41 +0200)
This reverts commit
a97f2a0a9c0f1c148a0152202296bb078103b40c
.
This was not a memleak, it was a valgrind false positive. We store "details" in
a static.
nsswitch/wbinfo.c
patch
|
blob
|
history
diff --git
a/nsswitch/wbinfo.c
b/nsswitch/wbinfo.c
index ca1fefb606d168d5290a141f9c179fadf8fc1f30..e57630991c39b2bc39377e4f483610259f43bad9 100644
(file)
--- 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;