summaryrefslogtreecommitdiffstats
path: root/Objects/listobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-07-01 01:00:38 (GMT)
committerGuido van Rossum <guido@python.org>2000-07-01 01:00:38 (GMT)
commit4cc6ac7b8797dd55cf9c93b6da7eae1d225b7dfe (patch)
tree33188a2be2a6d62e6f647f842303aa80ce9de474 /Objects/listobject.c
parentce8e1dc39531c8bed47cef0dd9d05bd3e9c0bd66 (diff)
downloadcpython-4cc6ac7b8797dd55cf9c93b6da7eae1d225b7dfe.zip
cpython-4cc6ac7b8797dd55cf9c93b6da7eae1d225b7dfe.tar.gz
cpython-4cc6ac7b8797dd55cf9c93b6da7eae1d225b7dfe.tar.bz2
Neil Schemenauer: small fixes for GC
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r--Objects/listobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c
index 2cf381f..d260a88 100644
--- a/Objects/listobject.c
+++ b/Objects/listobject.c
@@ -209,6 +209,7 @@ list_dealloc(op)
}
PyMem_FREE(op->ob_item);
}
+ op = (PyListObject *) PyObject_AS_GC(op);
PyObject_DEL(op);
Py_TRASHCAN_SAFE_END(op)
}