tevent/testsuite: make sure we cleanup tevent_fd structures in the correct order
authorStefan Metzmacher <metze@samba.org>
Fri, 29 May 2015 23:42:08 +0000 (01:42 +0200)
committerKarolin Seeger <kseeger@samba.org>
Sat, 20 Jun 2015 18:51:16 +0000 (20:51 +0200)
commit722bd3546098889f0a18ce48cf3a2f2df8f6a53f
tree6883b2fdaf3b3e4c36495165a5b67a967752c7d9
parent742bfc520c97b93de685d50223993ccf907a9f37
tevent/testsuite: make sure we cleanup tevent_fd structures in the correct order

First we need to remove the tevent_fd structures without
tevent_fd_set_auto_close(). Closing the fd needs to be the last
thing...

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11316

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 88971d4870a197f656ef912911ca1e4ff5b56749)
lib/tevent/testsuite.c