1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00

vmware: convert VIR_FREE to g_free in other functions that free their arg

Signed-off-by: Laine Stump <laine@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
Laine Stump 2021-02-09 12:28:04 -05:00
parent 04e90f72a7
commit d2b0ee0aff
2 changed files with 4 additions and 4 deletions

View File

@ -56,8 +56,8 @@ vmwareFreeDriver(struct vmware_driver *driver)
virObjectUnref(driver->domains);
virObjectUnref(driver->caps);
virObjectUnref(driver->xmlopt);
VIR_FREE(driver->vmrun);
VIR_FREE(driver);
g_free(driver->vmrun);
g_free(driver);
}

View File

@ -110,8 +110,8 @@ vmwareDataFreeFunc(void *data)
{
vmwareDomainPtr dom = data;
VIR_FREE(dom->vmxPath);
VIR_FREE(dom);
g_free(dom->vmxPath);
g_free(dom);
}
static int