提交 72a7f8b2 编写于 作者: J Jiri Denemark

Do not free static buffer with UUID

As anywhere else, uuid is defined as a fixed size array inside
_virSecret structure; we shouldn't try to free it.
上级 c5ec45a3
......@@ -1271,7 +1271,6 @@ virGetSecret(virConnectPtr conn, const unsigned char *uuid,
error:
if (ret != NULL) {
VIR_FREE(ret->usageID);
VIR_FREE(ret->uuid);
VIR_FREE(ret);
}
return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册