k b wrote:
Also i looked into OpenSSLCryptoHash the destructor doesn't do anything. (OpenSSLCryptoHash::~OpenSSLCryptoHash() {})And i think that the problem. This definitely is a bug.
I think you have the wrong version then, my copy shows: OpenSSLCryptoHash::~OpenSSLCryptoHash() { EVP_MD_CTX_cleanup(&m_mdctx); } That was fixed over two years ago. Try upgrading and then see what leaks. -- Scott