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:34:35 +0000 (23:34 +0100)
commitefd4f1dfd30a5894a1f663c832e287da608c3290
tree81ec5c32a2f89f0754c3775c1ec9fe60d35da762
parent00032b0ba1e5f9d5f64f4a868a666abce3f63870
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