mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00: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:
parent
04e90f72a7
commit
d2b0ee0aff
@ -56,8 +56,8 @@ vmwareFreeDriver(struct vmware_driver *driver)
|
|||||||
virObjectUnref(driver->domains);
|
virObjectUnref(driver->domains);
|
||||||
virObjectUnref(driver->caps);
|
virObjectUnref(driver->caps);
|
||||||
virObjectUnref(driver->xmlopt);
|
virObjectUnref(driver->xmlopt);
|
||||||
VIR_FREE(driver->vmrun);
|
g_free(driver->vmrun);
|
||||||
VIR_FREE(driver);
|
g_free(driver);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -110,8 +110,8 @@ vmwareDataFreeFunc(void *data)
|
|||||||
{
|
{
|
||||||
vmwareDomainPtr dom = data;
|
vmwareDomainPtr dom = data;
|
||||||
|
|
||||||
VIR_FREE(dom->vmxPath);
|
g_free(dom->vmxPath);
|
||||||
VIR_FREE(dom);
|
g_free(dom);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
Loading…
x
Reference in New Issue
Block a user