]> granicus.if.org Git - php/commit
openssl_pkcs12_read: add missing BIO_free
authorJelle van der Waa <jelle@vdwaa.nl>
Tue, 30 May 2017 13:55:05 +0000 (15:55 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Fri, 2 Jun 2017 21:52:43 +0000 (23:52 +0200)
commitc742abb3ce3789bd2ff73d7f48bba04a5a2f585e
treea9532fa42cfc6e5676c8a88279eaba782f6f2415
parentcea34425f37fbef86f92cde05024ff1cbbc927b0
openssl_pkcs12_read: add missing BIO_free

When filling the extracerts array with certificates bio_out is created
but not free'd leading to a small memory leak of 224 bytes (reported by
valgrind).
ext/openssl/openssl.c