mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
Free ifname in testDomainGenerateIfnames
https://bugzilla.redhat.com/show_bug.cgi?id=1135388
This commit is contained in:
parent
ed79ebdf7c
commit
628c2255a9
@ -521,6 +521,7 @@ testDomainGenerateIfname(virDomainDefPtr domdef)
|
||||
|
||||
if (!found)
|
||||
return ifname;
|
||||
VIR_FREE(ifname);
|
||||
}
|
||||
|
||||
virReportError(VIR_ERR_INTERNAL_ERROR,
|
||||
|
Loading…
Reference in New Issue
Block a user