]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/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)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 5 Apr 2013 08:36:03 +0000 (10:36 +0200)
commite964ba2786f6736613de1f14db4d3407f6928f50
tree3a280c73b2935f5219e817a965675f80d6c59919
parent03a43efa86f5099d3f6df334f73961a535e488b5
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>
tools/virsh.c