summaryrefslogtreecommitdiff
path: root/Objects/dictobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-07-01 01:00:38 +0000
committerGuido van Rossum <guido@python.org>2000-07-01 01:00:38 +0000
commitd9a2cd0ca92a9ce1b664f26f4e216f200365220e (patch)
treed0dd16ac71f1e736df525a3df206ccd6b1dcc7bf /Objects/dictobject.c
parentc68e3f44b5319189e26776e35e90b386b69ae847 (diff)
downloadcpython-d9a2cd0ca92a9ce1b664f26f4e216f200365220e.tar.gz
Neil Schemenauer: small fixes for GC
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r--Objects/dictobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index fd0ad10e94..60945f0c29 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -472,6 +472,7 @@ dict_dealloc(mp)
}
if (mp->ma_table != NULL)
PyMem_DEL(mp->ma_table);
+ mp = (dictobject *) PyObject_AS_GC(mp);
PyObject_DEL(mp);
Py_TRASHCAN_SAFE_END(mp)
}