git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e1ca451
)
nsswitch: Fix a memleak in wbinfo
author
Volker Lendecke
<vl@samba.org>
Sun, 18 Apr 2010 12:09:22 +0000
(14:09 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sun, 18 Apr 2010 13:25:02 +0000
(15:25 +0200)
nsswitch/wbinfo.c
patch
|
blob
|
history
diff --git
a/nsswitch/wbinfo.c
b/nsswitch/wbinfo.c
index cbd4f1d8eebe2b7ef8cd19e747fcef55730816ed..afecc86f1e54c724b6d4727d7097f2eeee4e3020 100644
(file)
--- a/
nsswitch/wbinfo.c
+++ b/
nsswitch/wbinfo.c
@@
-72,6
+72,8
@@
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;