lib/tevent: close pipe_fds on event_context destruction
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 28 Aug 2009 02:41:23 +0000 (12:11 +0930)
committerKarolin Seeger <kseeger@samba.org>
Wed, 9 Sep 2009 10:45:08 +0000 (12:45 +0200)
commit581a85eeb1cbed45d2eddee20fab1a168fdb1518
treee2cb45f0881e654924e029dbcf1bb24d3df5539e
parentb413921e53550e92d6cf764f5e4c837b8d5f5df1
lib/tevent: close pipe_fds on event_context destruction

The "hack_fds" were never closed before; now they're inside event_context
they should be closed when that is destroyed.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
(cherry picked from commit 76d91156c82e20bbd68c752376cb814d71759033)
(cherry picked from commit 5cc105ac513164d66d4661a41d1daa99f28ab928)
lib/tevent/tevent.c