summaryrefslogtreecommitdiff
path: root/Objects/listobject.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-02-21 21:44:08 -0800
committerGitHub <noreply@github.com>2018-02-21 21:44:08 -0800
commitbc2e1104693fd471b96ecac5b2ab4cffa09830ab (patch)
tree557d5e1c734e339eea174454a07f29769053d59d /Objects/listobject.c
parentc59bc98fb26ff1a2361f168a97da4a5f6c1e5b43 (diff)
downloadcpython-git-bc2e1104693fd471b96ecac5b2ab4cffa09830ab.tar.gz
closes bpo-32898: Fix debug build crash with COUNT_ALLOCS (GH-5800)
(cherry picked from commit 745dc65b17b3936e3f9f4099f735f174d30c4e0c) Co-authored-by: Eddie Elizondo <eduardo.elizondorueda@gmail.com>
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 f0fe962be9..c8ffeff093 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;
}