mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-130382: add missing _PyReftracerTrack
to ceval Py_DECREF
(#130689)
This commit is contained in:
parent
3a91ee9724
commit
c5abded099
4 changed files with 45 additions and 0 deletions
|
@ -80,6 +80,7 @@
|
|||
} \
|
||||
_Py_DECREF_STAT_INC(); \
|
||||
if (--op->ob_refcnt == 0) { \
|
||||
_PyReftracerTrack(op, PyRefTracer_DESTROY); \
|
||||
destructor dealloc = Py_TYPE(op)->tp_dealloc; \
|
||||
(*dealloc)(op); \
|
||||
} \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue