mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user