summaryrefslogtreecommitdiffstats
path: root/pidl/lib
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-08-30 08:53:18 +0200
committerStefan Metzmacher <metze@samba.org>2014-01-07 08:37:37 +0100
commit02c34fe4e51b5e62157eaf2de1d0aaf9fc6b8d72 (patch)
treecbc458edc6a7e16f1a7ed18f4efeb4ddc256d969 /pidl/lib
parent3a0fa3605b8eb995a8cc4696256129893e1f6f7e (diff)
downloadsamba-02c34fe4e51b5e62157eaf2de1d0aaf9fc6b8d72.tar.gz
samba-02c34fe4e51b5e62157eaf2de1d0aaf9fc6b8d72.tar.xz
samba-02c34fe4e51b5e62157eaf2de1d0aaf9fc6b8d72.zip
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>
Diffstat (limited to 'pidl/lib')
-rw-r--r--pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm b/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
index c796b466add..17b25b86759 100644
--- a/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
+++ b/pidl/lib/Parse/Pidl/Samba4/NDR/Client.pm
@@ -158,6 +158,7 @@ sub ParseFunction_r_Done($$$$)
$self->pidl("");
$self->pidl("status = dcerpc_binding_handle_call_recv(subreq);");
+ $self->pidl("TALLOC_FREE(subreq);");
$self->pidl("if (!NT_STATUS_IS_OK(status)) {");
$self->indent;
$self->pidl("tevent_req_nterror(req, status);");