Neil Schemenauer: small fixes for GC

This commit is contained in:
Guido van Rossum 2000-07-01 01:00:38 +00:00
parent ce8e1dc395
commit 4cc6ac7b87
7 changed files with 17 additions and 13 deletions

View file

@ -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)
}