mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
s3: Fix a bad memleak in winbind
This commit is contained in:
parent
dd111804f6
commit
13400a6589
@ -668,7 +668,8 @@ static void wb_request_done(struct tevent_req *req)
|
||||
req, struct winbindd_cli_state);
|
||||
NTSTATUS status;
|
||||
|
||||
state->response = talloc_zero(state, struct winbindd_response);
|
||||
state->response = talloc_zero(state->mem_ctx,
|
||||
struct winbindd_response);
|
||||
if (state->response == NULL) {
|
||||
DEBUG(0, ("wb_request_done[%d:%s]: talloc_zero failed - removing client\n",
|
||||
(int)state->pid, state->cmd_name));
|
||||
|
Loading…
Reference in New Issue
Block a user