mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
vmx; Free @checkMACAddress in virVMXParseEthernet()
The @checkMACAddress string is allocated in virVMXGetConfigString() but never freed. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user