[libvirt] [libvirt-glib] tests: Don't leak xml data in test-gconfig-device-unknown
Christophe Fergeau
cfergeau at redhat.com
Fri Nov 4 10:15:01 UTC 2016
---
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);
}
--
2.9.3
More information about the libvir-list
mailing list