tevent: simplify tevent_cleanup_pending_signal_handlers()
authorStefan Metzmacher <metze@samba.org>
Tue, 22 Jul 2014 10:02:45 +0000 (12:02 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 11 Jul 2018 21:04:20 +0000 (23:04 +0200)
commit8a947939e11cacde7c4b4dce03bf12348642ee7f
treeed9119425ac4f693c6bb618668b1497b9d836506
parent58fa08c80562490bd774f4dc774dc1ce3a042f3c
tevent: simplify tevent_cleanup_pending_signal_handlers()

Calling tevent_signal_destructor() does the same as se->event_ctx is already
NULL.

This also makes sure we correctly cleanup the SA_SIGINFO array.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
lib/tevent/tevent_signal.c