From 88aea06bbbecfb73b70221b3441426e1e919896b 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. (cherry picked from commit baa1618e0f917017c1934b7da41250029c1791ef) --- fish/fish.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fish/fish.c b/fish/fish.c index 3f420dc..85acacd 100644 --- a/fish/fish.c +++ b/fish/fish.c @@ -532,6 +532,8 @@ main (int argc, char *argv[]) if (progress_bars) progress_bar_free (bar); + guestfs_close (g); + exit (EXIT_SUCCESS); } -- 1.8.3.1