Skip to content

Commit f59e619

Browse files
committed
gh-130382: add missing _PyReftracerTrack to ceval DECREF
1 parent 9211b3d commit f59e619

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/ceval.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
} \
8181
_Py_DECREF_STAT_INC(); \
8282
if (--op->ob_refcnt == 0) { \
83+
_PyReftracerTrack(op, PyRefTracer_DESTROY); \
8384
destructor dealloc = Py_TYPE(op)->tp_dealloc; \
8485
(*dealloc)(op); \
8586
} \

0 commit comments

Comments
 (0)