tevent: simplify tevent_cleanup_pending_signal_handlers()
authorStefan Metzmacher <metze@samba.org>
Tue, 22 Jul 2014 10:02:45 +0000 (12:02 +0200)
committerStefan Metzmacher <metze@samba.org>
Thu, 17 May 2018 07:51:47 +0000 (09:51 +0200)
commit92663f9a948becfc165ad90517971da934238233
treef9ed955a9e5b31a3bdf383a7decb9c1e4738f4d4
parent4ff5aa6cf3d790cbf7e3bb469a694a6b84257167
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>
lib/tevent/tevent_signal.c