I am using openssl-1.0.1c in our project as DTLS . I am trying to delete all memory of SSL, SSL_CTX and BIO. But it is crashing at BIO_free_all() in openssl's lib. 1. Is there any procedure to followup to free these memories ?
2. If I free SSL and SSL_CTX, will it free the BIO implicitly or I need to free BIO explicitly ?