[libvirt PATCH 08/15] hypervisor: replace VIR_FREE with g_free in all *Dispose() functions
Laine Stump
laine at redhat.com
Thu Feb 4 04:38:27 UTC 2021
Signed-off-by: Laine Stump <laine at redhat.com>
---
src/hypervisor/virhostdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hypervisor/virhostdev.c b/src/hypervisor/virhostdev.c
index 09995a52ed..743aaa84d6 100644
--- a/src/hypervisor/virhostdev.c
+++ b/src/hypervisor/virhostdev.c
@@ -135,7 +135,7 @@ virHostdevManagerDispose(void *obj)
virObjectUnref(hostdevMgr->activeSCSIVHostHostdevs);
virObjectUnref(hostdevMgr->activeMediatedHostdevs);
virObjectUnref(hostdevMgr->activeNVMeHostdevs);
- VIR_FREE(hostdevMgr->stateDir);
+ g_free(hostdevMgr->stateDir);
}
static virHostdevManagerPtr
--
2.29.2
More information about the libvir-list
mailing list