mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00: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:
parent
053beeb04d
commit
cbd984d43a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user