mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 20:45:18 +00:00
libxl: 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
2e6635bc05
commit
3ebaa1bff3
@ -239,7 +239,7 @@ libxlDomainObjPrivateFree(void *data)
|
||||
{
|
||||
libxlDomainObjPrivatePtr priv = data;
|
||||
|
||||
VIR_FREE(priv->lockState);
|
||||
g_free(priv->lockState);
|
||||
virObjectUnref(priv);
|
||||
}
|
||||
|
||||
|
@ -127,7 +127,7 @@ libxlDomainManagedSaveLoad(virDomainObjPtr vm,
|
||||
static void
|
||||
libxlOSEventHookInfoFree(void *obj)
|
||||
{
|
||||
VIR_FREE(obj);
|
||||
g_free(obj);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -82,9 +82,9 @@ libxlMigrationCookieFree(libxlMigrationCookiePtr mig)
|
||||
if (!mig)
|
||||
return;
|
||||
|
||||
VIR_FREE(mig->srcHostname);
|
||||
VIR_FREE(mig->name);
|
||||
VIR_FREE(mig);
|
||||
g_free(mig->srcHostname);
|
||||
g_free(mig->name);
|
||||
g_free(mig);
|
||||
}
|
||||
|
||||
static libxlMigrationCookiePtr
|
||||
|
Loading…
x
Reference in New Issue
Block a user