[libvirt PATCH 06/21] test_driver: replace VIR_FREE with g_free in all vir*Free() functions

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

 



Signed-off-by: Laine Stump <laine@xxxxxxxxxx>
---
 src/test/test_driver.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/test_driver.c b/src/test/test_driver.c
index 29c4c86b1d..bca1297d1d 100644
--- a/src/test/test_driver.c
+++ b/src/test/test_driver.c
@@ -198,8 +198,8 @@ testDomainDefNamespaceFree(void *data)
     for (i = 0; i < nsdata->num_snap_nodes; i++)
         xmlFreeNode(nsdata->snap_nodes[i]);
 
-    VIR_FREE(nsdata->snap_nodes);
-    VIR_FREE(nsdata);
+    g_free(nsdata->snap_nodes);
+    g_free(nsdata);
 }
 
 static int
@@ -428,7 +428,7 @@ static void
 testDomainObjPrivateFree(void *data)
 {
     testDomainObjPrivatePtr priv = data;
-    VIR_FREE(priv);
+    g_free(priv);
 }
 
 
-- 
2.29.2




[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]

  Powered by Linux