git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82df564
)
fish: Close guestfs handle explicitly before exiting.
author
Richard W.M. Jones
<rjones@redhat.com>
Thu, 13 Oct 2011 10:54:18 +0000
(11:54 +0100)
committer
Richard W.M. Jones
<rjones@redhat.com>
Wed, 19 Oct 2011 17:31:19 +0000
(18:31 +0100)
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
patch
|
blob
|
history
diff --git
a/fish/fish.c
b/fish/fish.c
index
3f420dc
..
85acacd
100644
(file)
--- 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);
}