mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Neil Schemenauer: small fixes for GC
This commit is contained in:
parent
ce8e1dc395
commit
4cc6ac7b87
7 changed files with 17 additions and 13 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue