summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-10-27 15:31:44 +0100
committerAndreas Schneider <asn@cryptomilk.org>2013-10-28 10:20:35 +0100
commit30e5a5c5bfd75303449956553b47b6cc82930291 (patch)
tree4462e0395e7353b689be73beb36edc01eb843b18 /source3
parent21803653bbc9dc2f23634315b92fce63e29a758c (diff)
downloadsamba-30e5a5c5bfd75303449956553b47b6cc82930291.tar.gz
samba-30e5a5c5bfd75303449956553b47b6cc82930291.tar.bz2
samba-30e5a5c5bfd75303449956553b47b6cc82930291.zip
rpc_server: Fix a memleak on error exitHEADmaster
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Oct 28 10:20:35 CET 2013 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/rpc_ep_register.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpc_server/rpc_ep_register.c b/source3/rpc_server/rpc_ep_register.c
index 42c5d946ba..f576590ef6 100644
--- a/source3/rpc_server/rpc_ep_register.c
+++ b/source3/rpc_server/rpc_ep_register.c
@@ -193,6 +193,7 @@ static void rpc_ep_monitor_loop(struct tevent_req *subreq)
ok = tevent_wakeup_recv(subreq);
TALLOC_FREE(subreq);
if (!ok) {
+ talloc_free(tmp_ctx);
talloc_free(state);
return;
}