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

conf: add missing error on OOM

I removed it in 5c3d5b22 by accident.
上级 379e4bcc
......@@ -9924,6 +9924,7 @@ virDomainDefMaybeAddController(virDomainDefPtr def,
if (VIR_APPEND_ELEMENT(def->controllers, def->ncontrollers, cont) < 0) {
VIR_FREE(cont);
virReportOOMError();
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册