提交 62542d04 编写于 作者: M Matt Caswell

Fix a memory leak in an error path

Found by Coverity.
Reviewed-by: NRich Salz <rsalz@openssl.org>
Reviewed-by: NPaul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/5336)
上级 d8e2b4f9
......@@ -51,6 +51,7 @@ RSA_PRIME_INFO *rsa_multip_info_new(void)
BN_free(pinfo->d);
BN_free(pinfo->t);
BN_free(pinfo->pp);
OPENSSL_free(pinfo);
return NULL;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册