Stanislav Mikhailenko wrote:
CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
SSLeay_add_ssl_algorithms();
SSL_load_error_strings();
ERR_remove_state(0);
ERR_free_strings();
EVP_cleanup();
CRYPTO_cleanup_all_ex_data();
ENGINE_cleanup();
CONF_modules_unload(1);
This code
==13777== 128 bytes in 1 blocks are still reachable in loss record 1 of 2
==13777==at 0x4004BEC: realloc (vg_replace_malloc.c:306)
==13777==by 0x8052515: default_realloc_ex (mem.c:86)
==13777==by 0x8052B3E: CRYPTO_realloc (mem.c:331)
==13777==by 0x8062B64: contract (lhash.c:369)
CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON);
SSLeay_add_ssl_algorithms();
SSL_load_error_strings();
ERR_remove_state(0);
ERR_free_strings();
EVP_cleanup();
CRYPTO_cleanup_all_ex_data();
ENGINE_cleanup();
CONF_modules_unload(1);
This