[libvirt PATCH 14/15] tests: replace VIR_FREE with g_free in all *Dispose() functions

Laine Stump laine at redhat.com
Thu Feb 4 04:38:33 UTC 2021


Signed-off-by: Laine Stump <laine at redhat.com>
---
 tests/virfilecachetest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/virfilecachetest.c b/tests/virfilecachetest.c
index 34e0d0ab2f..4d65c0c6ce 100644
--- a/tests/virfilecachetest.c
+++ b/tests/virfilecachetest.c
@@ -43,7 +43,7 @@ static void
 testFileCacheObjDispose(void *opaque)
 {
     testFileCacheObjPtr obj = opaque;
-    VIR_FREE(obj->data);
+    g_free(obj->data);
 }
 
 
-- 
2.29.2




More information about the libvir-list mailing list