mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +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);
|
req, struct winbindd_cli_state);
|
||||||
NTSTATUS status;
|
NTSTATUS status;
|
||||||
|
|
||||||
state->response = talloc_zero(state, struct winbindd_response);
|
state->response = talloc_zero(state->mem_ctx,
|
||||||
|
struct winbindd_response);
|
||||||
if (state->response == NULL) {
|
if (state->response == NULL) {
|
||||||
DEBUG(0, ("wb_request_done[%d:%s]: talloc_zero failed - removing client\n",
|
DEBUG(0, ("wb_request_done[%d:%s]: talloc_zero failed - removing client\n",
|
||||||
(int)state->pid, state->cmd_name));
|
(int)state->pid, state->cmd_name));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user