]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virsh: Unregister the connection close notifier upon termination
authorViktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
Tue, 26 Mar 2013 09:54:55 +0000 (10:54 +0100)
committerEric Blake <eblake@redhat.com>
Tue, 9 Apr 2013 19:58:48 +0000 (13:58 -0600)
commitbec3cc73089122dbcb4b06e452e854c5023c70f8
tree099c355fa574426228a7bdc61d7da18224ca35aa
parentcf7dbdd42ad9cb8ff9c848621cc002f811a182fb
virsh: Unregister the connection close notifier upon termination

Before closing the connection we unregister the close callback
to prevent a reference leak.

Further, the messages on virConnectClose != 0 are a bit more specific
now.

Signed-off-by: Viktor Mihajlovski <mihajlov@linux.vnet.ibm.com>
(cherry picked from commit e964ba2786f6736613de1f14db4d3407f6928f50)
tools/virsh.c