summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Modules/_tracemalloc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_tracemalloc.c b/Modules/_tracemalloc.c
index 5c9f69e5d6..288942a904 100644
--- a/Modules/_tracemalloc.c
+++ b/Modules/_tracemalloc.c
@@ -992,6 +992,7 @@ DEBUG("tracemalloc_init(): set_reentrant(1)");
tracemalloc_config.initialized = TRACEMALLOC_INITIALIZED;
DEBUG("tracemalloc_init(): done");
+assert(get_reentrant());
return 0;
}