diff options
author | Tomasz Pytel <tompytel@gmail.com> | 2025-03-13 16:31:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-13 16:31:49 (GMT) |
commit | c5abded09995f208b21ebaf012185ca5acb0180b (patch) | |
tree | 2b22375cdd0ce4c5ed704222e1f6028b32076d06 /Python/ceval.c | |
parent | 3a91ee97245639c7c4f8852418157d3fc0ec1a82 (diff) | |
download | cpython-c5abded09995f208b21ebaf012185ca5acb0180b.zip cpython-c5abded09995f208b21ebaf012185ca5acb0180b.tar.gz cpython-c5abded09995f208b21ebaf012185ca5acb0180b.tar.bz2 |
gh-130382: add missing `_PyReftracerTrack` to ceval `Py_DECREF` (#130689)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index f9089d7..34f4417 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -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); \ } \ |