mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Free ifname in testDomainGenerateIfnames
https://bugzilla.redhat.com/show_bug.cgi?id=1135388 (cherry picked from commit 628c2255a9959b496f08dc501ae65a692ff9daa6)
This commit is contained in:
parent
76ad3133fa
commit
a36e39cf89
@ -420,6 +420,7 @@ testDomainGenerateIfname(virDomainDefPtr domdef) {
|
||||
|
||||
if (!found)
|
||||
return ifname;
|
||||
VIR_FREE(ifname);
|
||||
}
|
||||
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
|
Loading…
x
Reference in New Issue
Block a user