lib/poll_funcs: free contexts in poll_funcs_state_destructor()
commitc748a1745fddbf52c2d15761c7861faf373a9b61
authorJeremy Allison <jra@samba.org>
Mon, 19 Sep 2016 18:42:05 +0000 (19 11:42 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 21 Sep 2016 09:15:09 +0000 (21 11:15 +0200)
treeaa1921aee981e4eaec0f2af29b8084d087662406
parentb064dfde2e2ae17a6893abb430b67b2ccaa4687d
lib/poll_funcs: free contexts in poll_funcs_state_destructor()

This ensures the destructors get called in the proper order.

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

Back-port from c132b78c484c14d255a98567e90b934b73ebf8c2

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/lib/poll_funcs/poll_funcs_tevent.c