Free ifname in testDomainGenerateIfnames

https://bugzilla.redhat.com/show_bug.cgi?id=1135388
This commit is contained in:
Ján Tomko 2014-09-02 11:54:05 +02:00
parent ed79ebdf7c
commit 628c2255a9

View File

@ -521,6 +521,7 @@ testDomainGenerateIfname(virDomainDefPtr domdef)
if (!found)
return ifname;
VIR_FREE(ifname);
}
virReportError(VIR_ERR_INTERNAL_ERROR,