]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-119799: Add missing `_Py_IncRefTotal` to `_Py_NewRefWithLock` (#119800)
authorSam Gross <colesbury@gmail.com>
Fri, 31 May 2024 18:18:24 +0000 (14:18 -0400)
committerGitHub <noreply@github.com>
Fri, 31 May 2024 18:18:24 +0000 (14:18 -0400)
commit879d43b705faab0c59f1a6a0042e286f39f3a4ef
tree5f92a279c7c61ee342fca4150635c0dd7af95dd5
parent9bc6045842ebc91ec48ab163a9e1e8644231607c
gh-119799: Add missing `_Py_IncRefTotal` to `_Py_NewRefWithLock` (#119800)

The free-threaded refleak builds were reporting negative refcount deltas
in some tests because of a missing `_Py_NewRefWithLock`.
Include/internal/pycore_object.h