summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
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;
}