[libvirt] [PATCHv2 4/4] virsh: Register and unregister the close callback also in cmdConnect

Viktor Mihajlovski mihajlov at linux.vnet.ibm.com
Wed Mar 27 15:00:01 UTC 2013


On 03/27/2013 03:05 PM, Peter Krempa wrote:
> This patch improves the error message after disconnecting from the
> hypervisor and adds the close callback operations required not to leak
> the callback reference.
> ---
>   tools/virsh.c | 23 +++++++++++++++++------
>   1 file changed, 17 insertions(+), 6 deletions(-)
>

Hi Peter, I see a bunch of errors running make check with this patch
applied (at least in conjunction with my patches).
Mostly:
error: Failed to disconnect from the hypervisor, 1 leaked reference(s)

-- 

Mit freundlichen Grüßen/Kind Regards
    Viktor Mihajlovski

IBM Deutschland Research & Development GmbH
Vorsitzender des Aufsichtsrats: Martina Köderitz
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294




More information about the libvir-list mailing list