tevent: let tevent_req_received() clear the private_cancel function
commit39888fd4a3960f3f6a52aad76507faf030888d57
authorStefan Metzmacher <metze@samba.org>
Fri, 27 Sep 2013 00:59:22 +0000 (27 02:59 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 11 Dec 2013 21:46:09 +0000 (11 22:46 +0100)
treed8c76a53105a310a5149a75e40349b14ba01e1f9
parent577afba8b3b75d8ebf8bc496802974b834a53f83
tevent: let tevent_req_received() clear the private_cancel function

This makes sure it's not called when the private state is already gone.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
lib/tevent/tevent_req.c