From: Laine Stump Date: Wed, 3 Feb 2021 20:14:27 +0000 (-0500) Subject: hypervisor: replace VIR_FREE with g_free in all *Dispose() functions X-Git-Tag: v7.1.0-rc1~246 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3aea862b594f88c30cace72d056a7c5f16b3c2e1;p=thirdparty%2Flibvirt.git hypervisor: replace VIR_FREE with g_free in all *Dispose() functions Signed-off-by: Laine Stump Reviewed-by: Daniel Henrique Barboza --- 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