mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
rpc_server: Fix a memleak on error exit
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
This commit is contained in:
parent
21803653bb
commit
30e5a5c5bf
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user