The OpenSSL wiki has moved to https://github.com/openssl/openssl/wiki. Information on this page is no longer edited and may be out-of-date.
Memory management internals
From OpenSSLWiki
Jump to navigationJump to searchfree list in libssl
libssl maintains an internal free list, rather than calling malloc/free directly. See these two blog posts:
These posts recommend getting rid of that internal free list (custom memory allocation), and simply calling malloc/free directly.