1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +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:
Volker Lendecke 2013-10-27 15:31:44 +01:00 committed by Andreas Schneider
parent 21803653bb
commit 30e5a5c5bf

View File

@ -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;
}