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 | 5d379345fa06f4253f67b40cb8127b70072db561 (patch) | |
tree | 067ef9c5e90b3c567b499f9a472122b3ebc81c5e /source/nsswitch/wb_common.c | |
parent | c2c901e06b9723e33cccdb592c609072b4376c10 (diff) | |
download | samba-5d379345fa06f4253f67b40cb8127b70072db561.tar.gz samba-5d379345fa06f4253f67b40cb8127b70072db561.tar.xz samba-5d379345fa06f4253f67b40cb8127b70072db561.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
Diffstat (limited to 'source/nsswitch/wb_common.c')
-rw-r--r-- | source/nsswitch/wb_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/nsswitch/wb_common.c b/source/nsswitch/wb_common.c index acaf0ed17c9..79553e9e4fa 100644 --- 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; |