diff options
-rw-r--r-- | crypto/mem_dbg.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/mem_dbg.c b/crypto/mem_dbg.c index 05590442d1..c3d98caec9 100644 --- a/crypto/mem_dbg.c +++ b/crypto/mem_dbg.c @@ -639,6 +639,9 @@ int CRYPTO_mem_leaks(BIO *b) if (mh == NULL && amih == NULL) return 1; + /* Ensure all resources are released */ + OPENSSL_INIT_library_stop(); + CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_DISABLE); ml.bio = b; |