Signed-off-by: Laine Stump <laine(a)redhat.com>
---
src/vz/vz_driver.c | 8 ++++----
src/vz/vz_utils.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/vz/vz_driver.c b/src/vz/vz_driver.c
index b60e99d4f5..0ebcb06234 100644
--- a/src/vz/vz_driver.c
+++ b/src/vz/vz_driver.c
@@ -2729,10 +2729,10 @@ vzMigrationCookieFree(vzMigrationCookiePtr mig)
if (!mig)
return;
- VIR_FREE(mig->session_uuid);
- VIR_FREE(mig->uuid);
- VIR_FREE(mig->name);
- VIR_FREE(mig);
+ g_free(mig->session_uuid);
+ g_free(mig->uuid);
+ g_free(mig->name);
+ g_free(mig);
}
static int
diff --git a/src/vz/vz_utils.c b/src/vz/vz_utils.c
index 4a79b55f3e..e5106619b6 100644
--- a/src/vz/vz_utils.c
+++ b/src/vz/vz_utils.c
@@ -582,7 +582,7 @@ vzDomObjFree(void* p)
PrlHandle_Free(pdom->sdkdom);
PrlHandle_Free(pdom->stats);
virCondDestroy(&pdom->job.cond);
- VIR_FREE(pdom);
+ g_free(pdom);
};
#define VZ_JOB_WAIT_TIME (1000 * 30)
--
2.29.2