diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-08-01 07:46:42 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-08-01 07:46:42 +0000 |
commit | 66ba34188c8300a8b4d5f266a392dc1924d9f755 (patch) | |
tree | 78cf1de774bccaf0f894e10fdde27ac3dace9268 /source3 | |
parent | a34ba764354354d246150924e6499ee14478d05d (diff) | |
download | samba-66ba34188c8300a8b4d5f266a392dc1924d9f755.tar.gz samba-66ba34188c8300a8b4d5f266a392dc1924d9f755.tar.bz2 samba-66ba34188c8300a8b4d5f266a392dc1924d9f755.zip |
Fix a memory leak. I did not check all the calls to winbindd_request, but
we might leak the extra_data somewhere else as well.
Volker
(This used to be commit 5d379345fa06f4253f67b40cb8127b70072db561)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nsswitch/wb_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nsswitch/wb_common.c b/source3/nsswitch/wb_common.c index acaf0ed17c..79553e9e4f 100644 --- a/source3/nsswitch/wb_common.c +++ b/source3/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; |