From: Laine Stump Date: Tue, 9 Feb 2021 17:24:34 +0000 (-0500) Subject: locking: convert VIR_FREE to g_free in other functions that free their arg X-Git-Tag: v7.1.0-rc1~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f42be9ae48b0b6c6bbf767c897b8304a69788d6d;p=thirdparty%2Flibvirt.git locking: convert VIR_FREE to g_free in other functions that free their arg Signed-off-by: Laine Stump Reviewed-by: Michal Privoznik --- diff --git a/src/locking/lock_manager.c b/src/locking/lock_manager.c index db724eb30f..90ec5cdfbe 100644 --- a/src/locking/lock_manager.c +++ b/src/locking/lock_manager.c @@ -245,8 +245,8 @@ void virLockManagerPluginUnref(virLockManagerPluginPtr plugin) return; } - VIR_FREE(plugin->name); - VIR_FREE(plugin); + g_free(plugin->name); + g_free(plugin); } #else /* !WITH_DLFCN_H */ void virLockManagerPluginUnref(virLockManagerPluginPtr plugin G_GNUC_UNUSED)