Commit
517f05e42f17766b1e8db8f1f4789cbad968e304 "freeze: abort vacuuming
when we're going to freeze." introduced a file descriptor leak, because
the abortfd used to talk to the child wasn't closed.
Do this in the destructor.
CQ:S1019190
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
}
DLIST_REMOVE(ctdb->vacuumers, child_ctx);
+ close(child_ctx->abortfd[1]);
event_add_timed(ctdb->ev, child_ctx->vacuum_handle,
timeval_current_ofs(get_vacuum_interval(ctdb_db), 0),