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:
Laine Stump 2021-02-03 14:40:15 -05:00
parent 2e6635bc05
commit 3ebaa1bff3
3 changed files with 5 additions and 5 deletions

View File

@ -239,7 +239,7 @@ libxlDomainObjPrivateFree(void *data)
{
libxlDomainObjPrivatePtr priv = data;
VIR_FREE(priv->lockState);
g_free(priv->lockState);
virObjectUnref(priv);
}

View File

@ -127,7 +127,7 @@ libxlDomainManagedSaveLoad(virDomainObjPtr vm,
static void
libxlOSEventHookInfoFree(void *obj)
{
VIR_FREE(obj);
g_free(obj);
}
static void

View File

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