mirror of
https://github.com/python/cpython.git
synced 2025-08-24 02:35:59 +00:00
[3.13] gh-130382: add missing _PyReftracerTrack
to ceval Py_DECREF
(GH-130689) (#131195)
(cherry picked from commit c5abded099
)
Co-authored-by: Tomasz Pytel <tompytel@gmail.com>
This commit is contained in:
parent
130fa4c94f
commit
5646f6f739
4 changed files with 45 additions and 0 deletions
|
@ -70,6 +70,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