mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
pidl:NDR/Client: add missing TALLOC_FREE(subreq) after dcerpc_binding_handle_call_recv()
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
3a0fa3605b
commit
02c34fe4e5
@ -158,6 +158,7 @@ sub ParseFunction_r_Done($$$$)
|
|||||||
$self->pidl("");
|
$self->pidl("");
|
||||||
|
|
||||||
$self->pidl("status = dcerpc_binding_handle_call_recv(subreq);");
|
$self->pidl("status = dcerpc_binding_handle_call_recv(subreq);");
|
||||||
|
$self->pidl("TALLOC_FREE(subreq);");
|
||||||
$self->pidl("if (!NT_STATUS_IS_OK(status)) {");
|
$self->pidl("if (!NT_STATUS_IS_OK(status)) {");
|
||||||
$self->indent;
|
$self->indent;
|
||||||
$self->pidl("tevent_req_nterror(req, status);");
|
$self->pidl("tevent_req_nterror(req, status);");
|
||||||
|
Loading…
Reference in New Issue
Block a user