Fix memory leak in BIO_free if there is no destroy function.
authorMatt Caswell <matt@openssl.org>
Wed, 9 Jul 2014 22:29:17 +0000 (23:29 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 9 Jul 2014 22:38:23 +0000 (23:38 +0100)
commit97f4e235a17d1fd967be528fb18c3408ef9600a2
tree55a51c3e147abb581fd410248b1a68f4594bcc56
parentcfd2aeeb7ce6827d14752f8e754b634ddfb1bd6a
Fix memory leak in BIO_free if there is no destroy function.
Based on an original patch by Neitrino Photonov <neitrinoph@gmail.com>

PR#3439

(cherry picked from commit 66816c53bea0ecddb9448da7ea9a51a334496127)
crypto/bio/bio_lib.c