vacuum: close fd leak
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 4 Aug 2010 22:31:55 +0000 (08:01 +0930)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 4 Aug 2010 22:55:07 +0000 (08:55 +1000)
commite95940ec0de81ac3a3bce78fadbdfeef31680761
tree8320828b68406a7f5f515c4f5c4efc09ef512cc4
parent46b093324c01c56a12fdde0b47980ee57c33c00e
vacuum: close fd leak

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>
server/ctdb_vacuum.c