diff options
author | Andreas Schneider <asn@samba.org> | 2013-04-02 13:08:19 +0200 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2013-04-02 17:16:56 +0200 |
commit | 5e9195756e7f0355a022b00f9d1cbfd8e761e006 (patch) | |
tree | 59d3cf2435f463ad6896ab5f2ae627a97c75eb2b /source3 | |
parent | 257d2ef527b257b2228fc9bbfddfb3c604b79fb4 (diff) | |
download | samba-5e9195756e7f0355a022b00f9d1cbfd8e761e006.tar.gz samba-5e9195756e7f0355a022b00f9d1cbfd8e761e006.tar.bz2 samba-5e9195756e7f0355a022b00f9d1cbfd8e761e006.zip |
BUG 9758: Don't leak the epm_Map policy handle.
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Autobuild-User(master): Alexander Bokovoy <ab@samba.org>
Autobuild-Date(master): Tue Apr 2 17:16:56 CEST 2013 on sn-devel-104
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/rpc_ep_register.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/rpc_server/rpc_ep_register.c b/source3/rpc_server/rpc_ep_register.c index e0fe962980..96a3705faa 100644 --- a/source3/rpc_server/rpc_ep_register.c +++ b/source3/rpc_server/rpc_ep_register.c @@ -249,6 +249,10 @@ static void rpc_ep_monitor_loop(struct tevent_req *subreq) ok = false; } + dcerpc_epm_LookupHandleFree(state->h, + tmp_ctx, + &entry_handle, + &result); talloc_free(tmp_ctx); subreq = tevent_wakeup_send(state->mem_ctx, |