Signed-off-by: Laine Stump <laine(a)redhat.com>
---
src/bhyve/bhyve_conf.c | 6 +++---
src/bhyve/bhyve_domain.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/bhyve/bhyve_conf.c b/src/bhyve/bhyve_conf.c
index f3e2ebf7c7..9012eb8b5f 100644
--- a/src/bhyve/bhyve_conf.c
+++ b/src/bhyve/bhyve_conf.c
@@ -109,8 +109,8 @@ bhyveDomainCmdlineDefFree(bhyveDomainCmdlineDefPtr def)
return;
for (i = 0; i < def->num_args; i++)
- VIR_FREE(def->args[i]);
+ g_free(def->args[i]);
- VIR_FREE(def->args);
- VIR_FREE(def);
+ g_free(def->args);
+ g_free(def);
}
diff --git a/src/bhyve/bhyve_domain.c b/src/bhyve/bhyve_domain.c
index f0e553113f..1d99ba6c96 100644
--- a/src/bhyve/bhyve_domain.c
+++ b/src/bhyve/bhyve_domain.c
@@ -50,7 +50,7 @@ bhyveDomainObjPrivateFree(void *data)
virDomainPCIAddressSetFree(priv->pciaddrs);
- VIR_FREE(priv);
+ g_free(priv);
}
virDomainXMLPrivateDataCallbacks virBhyveDriverPrivateDataCallbacks = {
--
2.29.2