提交 0ec289a4 编写于 作者: M Matthias Bolte

apparmor: Fix compilation by removing remains from virCommand conversion

Commit aaf20355 was incomplete here and
missed to remove some parts.
上级 6593a5cb
......@@ -163,7 +163,7 @@ load_profile(virSecurityManagerPtr mgr,
const char *fn,
bool append)
{
int rc = -1, status, ret;
int rc = -1;
bool create = true;
char *xml = NULL;
virCommandPtr cmd;
......@@ -194,9 +194,6 @@ load_profile(virSecurityManagerPtr mgr,
clean:
VIR_FREE(xml);
VIR_FORCE_CLOSE(pipefd[0]);
VIR_FORCE_CLOSE(pipefd[1]);
return rc;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册