Recently I have started studying about memory leaks in C++, so I may ask a naive questions. I have a c++ library that is using OpenSSL - my task is to check if there are
To get rid of the final two memory blocks allocated in SSL_library_init() try:
sk_free(SSL_COMP_get_compression_methods());