From baa1618e0f917017c1934b7da41250029c1791ef Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Thu, 13 Oct 2011 11:54:18 +0100 Subject: [PATCH] fish: Close guestfs handle explicitly before exiting. NOTE this is just a cleanup. It is NOT necessary for correctness, since libguestfs itself is correctly closing the handle in the exit handler. --- fish/fish.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fish/fish.c b/fish/fish.c index 3104c40..7b45fec 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -547,6 +547,8 @@ main (int argc, char *argv[]) if (progress_bars) progress_bar_free (bar); + guestfs_close (g); + exit (EXIT_SUCCESS); } -- 1.8.3.1