提交 1c89f6eb 编写于 作者: J John Ferlan

virseclabel: Resolve Coverity FORWARD_NULL issue

Resolve issue introduced by commit id '13adf1b2'
上级 da78351b
......@@ -61,7 +61,7 @@ virSecurityLabelDefNew(const char *model)
if (VIR_ALLOC(seclabel) < 0 ||
VIR_STRDUP(seclabel->model, model) < 0) {
virSecurityLabelDefFree(seclabel);
seclabel = NULL;
return NULL;
}
seclabel->relabel = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册