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:
049116e
)
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>
Thu, 13 Oct 2011 14:25:13 +0000
(15:25 +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.
fish/fish.c
patch
|
blob
|
history
diff --git
a/fish/fish.c
b/fish/fish.c
index
3104c40
..
7b45fec
100644
(file)
--- 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);
}