]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-121137: Add missing Py_DECREF calls for ADDITEMS opcode of _pickle.c (#121136)
authorJustin Applegate <70449145+Legoclones@users.noreply.github.com>
Fri, 28 Jun 2024 21:43:45 +0000 (15:43 -0600)
committerGitHub <noreply@github.com>
Fri, 28 Jun 2024 21:43:45 +0000 (14:43 -0700)
commit92893fd8dc803ed7cdde55d29d25f84ccb5e3ef0
treee7c08f62448d0a3af3a6b78d810ed9a2e753cde8
parente6543daf12051e9c660a5c0437683e8d2706a3c7
gh-121137: Add missing Py_DECREF calls for ADDITEMS opcode of _pickle.c (#121136)

PyObject_GetAttr returns a new reference, but this reference is never decremented using Py_DECREF, so Py_DECREF calls to this referece are added
Modules/_pickle.c