mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
Add a missing talloc_move() in tldap_search_recv
This commit is contained in:
parent
8d1b81926d
commit
0524d24fb2
@ -1195,7 +1195,7 @@ int tldap_search_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
|
||||
}
|
||||
}
|
||||
|
||||
*pmsg = state->result;
|
||||
*pmsg = talloc_move(mem_ctx, &state->result);
|
||||
return TLDAP_SUCCESS;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user