mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
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:
parent
c11f2343c2
commit
acb4d8ed71
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user