[libvirt PATCH 4/8] openvz: convert VIR_FREE to g_free in other functions that free their arg
Laine Stump
laine at redhat.com
Fri Feb 12 05:28:14 UTC 2021
Signed-off-by: Laine Stump <laine at redhat.com>
---
src/openvz/openvz_conf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/openvz/openvz_conf.c b/src/openvz/openvz_conf.c
index 1783dce233..041a031a3a 100644
--- a/src/openvz/openvz_conf.c
+++ b/src/openvz/openvz_conf.c
@@ -478,7 +478,7 @@ openvzFreeDriver(struct openvz_driver *driver)
virObjectUnref(driver->xmlopt);
virObjectUnref(driver->domains);
virObjectUnref(driver->caps);
- VIR_FREE(driver);
+ g_free(driver);
}
--
2.29.2
More information about the libvir-list
mailing list