diff options
author | Richard Jones <rjones@trick.home.annexia.org> | 2009-07-10 11:41:43 +0100 |
---|---|---|
committer | Richard Jones <rjones@trick.home.annexia.org> | 2009-07-10 11:41:43 +0100 |
commit | 03e1f74ee08dc71bc09cc7655bf4732685f80b43 (patch) | |
tree | 29fbe8075da84949d6f8a98e39679eddee248b05 /perl/lib | |
parent | 67a3d3e3915a18a58702b7e68f514d9dc9a82a2e (diff) | |
download | libguestfs-03e1f74ee08dc71bc09cc7655bf4732685f80b43.tar.gz libguestfs-03e1f74ee08dc71bc09cc7655bf4732685f80b43.tar.xz libguestfs-03e1f74ee08dc71bc09cc7655bf4732685f80b43.zip |
Properly close fds and unregister handlers in guestfs_close.
This caused a segfault if you tried to repeatedly open and close
a guestfs handle in the same program. The reason is that the
old handler remained registered (not always - it was racey).
This adds proper cleanup to the guestfs_close path, also for file
descriptors.
Diffstat (limited to 'perl/lib')
0 files changed, 0 insertions, 0 deletions