tests: Don't leak xml data in test-gconfig-device-unknown
authorChristophe Fergeau <cfergeau@redhat.com>
Fri, 4 Nov 2016 10:10:22 +0000 (11:10 +0100)
committerChristophe Fergeau <cfergeau@redhat.com>
Fri, 4 Nov 2016 10:10:22 +0000 (11:10 +0100)
tests/test-gconfig.c

index 9cf3f12..2c98c25 100644 (file)
@@ -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);
 }