diff --git a/src/vmx/vmx.c b/src/vmx/vmx.c index 4324bb8387..3de706293a 100644 --- a/src/vmx/vmx.c +++ b/src/vmx/vmx.c @@ -2485,6 +2485,7 @@ virVMXParseEthernet(virConfPtr conf, int controller, virDomainNetDefPtr *def) *def = NULL; } + VIR_FREE(networkName); VIR_FREE(connectionType); VIR_FREE(addressType); VIR_FREE(generatedAddress);