Re: [libvirt-glib] tests: Don't leak xml data in test-gconfig-device-unknown

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Nov 04, 2016 at 11:15:01AM +0100, Christophe Fergeau wrote:
> ---
>  tests/test-gconfig.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/tests/test-gconfig.c b/tests/test-gconfig.c
> index 9cf3f12..2c98c25 100644
> --- a/tests/test-gconfig.c
> +++ b/tests/test-gconfig.c
> @@ -782,6 +782,7 @@ static void test_domain_device_unknown(void)
>  
>      g_list_free_full(devices, g_object_unref);
>      g_object_unref(G_OBJECT(domain));
> +    g_free(xml);
>  }

ACK

Regards,
Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]