Re: [libvirt] [PATCH 3/3] virsh: Unregister the connection close notifier upon termination

2013-03-27 Thread Peter Krempa
On 03/26/13 10:54, Viktor Mihajlovski wrote: Before closing the connection we unregister the close callback to prevent a reference leak. We make sure that we only unregister if we have previously registered a callback (not the case for virsh connect!). Further, the messages on virConnectClose !=

[libvirt] [PATCH 3/3] virsh: Unregister the connection close notifier upon termination

2013-03-26 Thread Viktor Mihajlovski
Before closing the connection we unregister the close callback to prevent a reference leak. We make sure that we only unregister if we have previously registered a callback (not the case for virsh connect!). Further, the messages on virConnectClose != 0 are a bit more specific now. Signed-off-by:

[libvirt] [PATCH 3/3] virsh: Unregister the connection close notifier upon termination

2013-03-15 Thread Viktor Mihajlovski
Before closing the connection we unregister the close callback to prevent a reference leak. We make sure that we only unregister if we have previously registered a callback (not the case for virsh connect!). Further, the messages on virConnectClose != 0 are a bit more specific now. Signed-off-by: