提交 628c2255 编写于 作者: J Ján Tomko

Free ifname in testDomainGenerateIfnames

https://bugzilla.redhat.com/show_bug.cgi?id=1135388
上级 ed79ebdf
...@@ -521,6 +521,7 @@ testDomainGenerateIfname(virDomainDefPtr domdef) ...@@ -521,6 +521,7 @@ testDomainGenerateIfname(virDomainDefPtr domdef)
if (!found) if (!found)
return ifname; return ifname;
VIR_FREE(ifname);
} }
virReportError(VIR_ERR_INTERNAL_ERROR, virReportError(VIR_ERR_INTERNAL_ERROR,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册