]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-119799: Add missing `_Py_IncRefTotal` to `_Py_NewRefWithLock` (GH-119800...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 31 May 2024 19:08:21 +0000 (21:08 +0200)
committerGitHub <noreply@github.com>
Fri, 31 May 2024 19:08:21 +0000 (19:08 +0000)
commit67ac19111f14e9606454d0f36a52132996073db4
tree839b1fa870e06b7336262cb9f1725c9574040f2a
parenta7e81fdfc175bd9cf82dfd8f1e1853cb942bf0f0
[3.13] gh-119799: Add missing `_Py_IncRefTotal` to `_Py_NewRefWithLock` (GH-119800) (#119878)

The free-threaded refleak builds were reporting negative refcount deltas
in some tests because of a missing `_Py_NewRefWithLock`.
(cherry picked from commit 879d43b705faab0c59f1a6a0042e286f39f3a4ef)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Include/internal/pycore_object.h