Commit 580538c5dd7f forgot to free switchId.
Signed-off-by: Martin Kletzander <mkletzan(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 9ad463658aa8..191f0b5e83ff 100644
--- a/src/vmx/vmx.c
+++ b/src/vmx/vmx.c
@@ -2920,6 +2920,7 @@ virVMXParseEthernet(virConf *conf, int controller, virDomainNetDef
**def)
VIR_FREE(address);
VIR_FREE(virtualDev);
VIR_FREE(vnet);
+ VIR_FREE(switchId);
return result;
}
--
2.37.2