tevent_poll: Avoid a crash in poll_fresh_fde_destructor
commit611fcca641a22a2a23b26752105af99cf338d6a1
authorVolker Lendecke <vl@samba.org>
Thu, 31 Jan 2013 15:34:41 +0000 (31 16:34 +0100)
committerJeremy Allison <jra@samba.org>
Sun, 3 Feb 2013 03:53:12 +0000 (2 19:53 -0800)
tree6162443763245abb9f17ae41da571e4e80ae0361
parent0cf62a92f26ef9c7d3c5a5d256adc72d66335319
tevent_poll: Avoid a crash in poll_fresh_fde_destructor

The event context might have been freed before the fde

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