提交 edac5dc2 编写于 作者: K Kurt Roeckx

Fix memory leak

Reviewed-by: NMatt Caswell <matt@openssl.org>
上级 1549a265
......@@ -248,6 +248,7 @@ static int dh_priv_decode(EVP_PKEY *pkey, PKCS8_PRIV_KEY_INFO *p8)
DHerr(DH_F_DH_PRIV_DECODE, EVP_R_DECODE_ERROR);
dherr:
DH_free(dh);
ASN1_INTEGER_free(privkey);
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册