summaryrefslogtreecommitdiffstats
path: root/crypto/mem_dbg.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/mem_dbg.c')
-rw-r--r--crypto/mem_dbg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/mem_dbg.c b/crypto/mem_dbg.c
index 131669a23b..139cfe1794 100644
--- a/crypto/mem_dbg.c
+++ b/crypto/mem_dbg.c
@@ -772,6 +772,9 @@ void CRYPTO_mem_leaks(BIO *b)
{
BIO_printf(b,"%ld bytes leaked in %d chunks\n",
ml.bytes,ml.chunks);
+#ifdef CRYPTO_MDEBUG_ABORT
+ abort();
+#endif
}
else
{