提交 d4b7309a 编写于 作者: J Jiri Denemark

apparmor: Avoid freeing uninitialized pointer

上级 4db3fd74
......@@ -177,7 +177,7 @@ load_profile(virSecurityManagerPtr mgr,
int rc = -1;
bool create = true;
char *xml = NULL;
virCommandPtr cmd;
virCommandPtr cmd = NULL;
const char *probe = virSecurityManagerGetAllowDiskFormatProbing(mgr)
? "1" : "0";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册