gh-130382: add missing _PyReftracerTrack to ceval Py_DECREF (#130689)

This commit is contained in:
Tomasz Pytel 2025-03-13 12:31:49 -04:00 committed by GitHub
parent 3a91ee9724
commit c5abded099
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 45 additions and 0 deletions

View file

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