5f4843191b
There is no point in using BIO_free with a custom recursion to free up stacked BIOs if there is already BIO_free_all. Using it consistently avoids memory leaks due to stacked BIOs not being recursively freed.