SIGN IN SIGN UP

[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>
M
Miss Islington (bot) committed
67ac19111f14e9606454d0f36a52132996073db4
Parent: a7e81fd
Committed by GitHub <noreply@github.com> on 5/31/2024, 7:08:21 PM