mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 03:12:22 +00:00
vport_profile_conf: Resolve memory leak found by Valgrind
The 'virtPortInterfaceID' was not VIR_FREE()'d
This commit is contained in:
parent
ba9c7a3026
commit
cbd5dc09e8
@ -198,6 +198,7 @@ cleanup:
|
||||
VIR_FREE(virtPortInstanceID);
|
||||
VIR_FREE(virtPortProfileID);
|
||||
VIR_FREE(virtPortType);
|
||||
VIR_FREE(virtPortInterfaceID);
|
||||
|
||||
return virtPort;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user