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:32:18 +0000 (23:32 +0100)
commit23bd628735ee1a4d271af330f7e698bbce0ef386
treee016cc6a3783019a8503ff8cfabad108042c2908
parent371feee876dd8b58531cb6e50fe79262db8e4ed7
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