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:
parent
04e90f72a7
commit
d2b0ee0aff
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user