[libvirt] [PATCH 09/20] test: testConnectClose: Set privateData to NULL in all cases

John Ferlan jferlan at redhat.com
Thu Mar 15 14:33:36 UTC 2018



On 03/08/2018 07:20 AM, Marc Hartmayer wrote:
> Set privateData to NULL also for a connection that uses @defaultConn
> as privateData regardless of whether @defaultConn was freed or
> not. @defaultConn is shared between multiple connections and it's
> ensured that there will be no memory leak by counting references.
> 
> Signed-off-by: Marc Hartmayer <mhartmay at linux.vnet.ibm.com>
> Reviewed-by: Boris Fiuczynski <fiuczy at linux.vnet.ibm.com>
> ---
>  src/test/test_driver.c | 1 +
>  1 file changed, 1 insertion(+)
> 

Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list