git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2c901e
)
Fix a memory leak. I did not check all the calls to winbindd_request, but
author
Volker Lendecke
<vlendec@samba.org>
Fri, 1 Aug 2003 07:46:42 +0000
(07:46 +0000)
committer
Volker Lendecke
<vlendec@samba.org>
Fri, 1 Aug 2003 07:46:42 +0000
(07:46 +0000)
we might leak the extra_data somewhere else as well.
Volker
source/nsswitch/wb_common.c
patch
|
blob
|
history
diff --git
a/source/nsswitch/wb_common.c
b/source/nsswitch/wb_common.c
index acaf0ed17c9d50fca786c78f7f107bc827b998e6..79553e9e4fa48a254e1d8e0b36de1734e52d15ba 100644
(file)
--- a/
source/nsswitch/wb_common.c
+++ b/
source/nsswitch/wb_common.c
@@
-239,6
+239,8
@@
int winbind_open_pipe_sock(void)
}
}
+ SAFE_FREE(response.extra_data);
+
return winbindd_fd;
#else
return -1;