mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
GH-127705: Don't call _Py_ForgetReference before _Py_Dealloc (GH-131508)
This commit is contained in:
parent
7ebd71ee14
commit
684a759c20
1 changed files with 0 additions and 3 deletions
|
@ -445,9 +445,6 @@ static inline void Py_DECREF_MORTAL(const char *filename, int lineno, PyObject *
|
|||
_Py_DECREF_DecRefTotal();
|
||||
}
|
||||
if (--op->ob_refcnt == 0) {
|
||||
#ifdef Py_TRACE_REFS
|
||||
_Py_ForgetReference(op);
|
||||
#endif
|
||||
_Py_Dealloc(op);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue