summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
diff options
context:
space:
mode:
authorEddie Elizondo <eduardo.elizondorueda@gmail.com>2018-02-22 04:55:18 (GMT)
committerBenjamin Peterson <benjamin@python.org>2018-02-22 04:55:18 (GMT)
commit745dc65b17b3936e3f9f4099f735f174d30c4e0c (patch)
tree23b81a11c1e61eb12828acfd356e85866a7edf24 /Objects/listobject.c
parentc84cf6c03fce1fb73bfaf91d7909f1c2708f14a2 (diff)
downloadcpython-745dc65b17b3936e3f9f4099f735f174d30c4e0c.zip
cpython-745dc65b17b3936e3f9f4099f735f174d30c4e0c.tar.gz
cpython-745dc65b17b3936e3f9f4099f735f174d30c4e0c.tar.bz2
closes bpo-32898: Fix debug build crash with COUNT_ALLOCS (GH-5800)
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r--Objects/listobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index f0fe962..c8ffeff 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -86,7 +86,7 @@ static void
show_alloc(void)
{
PyInterpreterState *interp = PyThreadState_GET()->interp;
- if (!inter->core_config.show_alloc_count) {
+ if (!interp->core_config.show_alloc_count) {
return;
}