The @checkMACAddress string is allocated in
virVMXGetConfigString() but never freed.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/vmx/vmx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c
index 4b1b04c6e1..9894d5c0ce 100644
--- a/src/vmx/vmx.c
+++ b/src/vmx/vmx.c
@@ -2734,6 +2734,7 @@ virVMXParseEthernet(virConfPtr conf, int controller,
virDomainNetDefPtr *def)
VIR_FREE(networkName);
VIR_FREE(connectionType);
VIR_FREE(addressType);
+ VIR_FREE(checkMACAddress);
VIR_FREE(generatedAddress);
VIR_FREE(address);
VIR_FREE(virtualDev);
--
2.26.2