vz: replace VIR_FREE with g_free in all vir*Free() functions

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
Laine Stump 2021-02-03 14:35:19 -05:00
parent c11f2343c2
commit acb4d8ed71
2 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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)