This wiki is a read-only archive and is no longer maintained. Current documentation is at docs.openssl.org and on the OpenSSL GitHub wiki.

Memory management internals

From OpenSSLWiki
Jump to navigationJump to search

free 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.