diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-16 00:51:18 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-04-16 00:51:18 +0000 |
commit | a39b88d2fddd4821d356766af1e861711f68a969 (patch) | |
tree | af75e4cc5c89f94e61f502503374273f5f196b30 /cont.c | |
parent | 3f266027c5aa9a05e33adca9427106aac470954c (diff) | |
download | ruby-a39b88d2fddd4821d356766af1e861711f68a969.tar.gz |
ossl_pkey.c: fix memory leak
* ext/openssl/ossl_pkey.c (ossl_pkey_verify): as EVP_VerifyFinal()
finalizes only a copy of the digest context, the context must be
cleaned up after initialization by EVP_MD_CTX_cleanup() or a
memory leak will occur. [ruby-core:62038] [Bug #9743]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'cont.c')
0 files changed, 0 insertions, 0 deletions