]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-121137: Add missing Py_DECREF calls for ADDITEMS opcode of _pickle.c (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 28 Jun 2024 23:17:34 +0000 (01:17 +0200)
committerGitHub <noreply@github.com>
Fri, 28 Jun 2024 23:17:34 +0000 (16:17 -0700)
commit50ea6408b8cb31d39a91f3d08b2e7a0e97d9424e
tree45f79b4934500c3fd91f586b3bede24f66abf276
parent58a3c3c0ad1f691810054fbc0feb8d9260e55fc2
[3.13] gh-121137: Add missing Py_DECREF calls for ADDITEMS opcode of _pickle.c (GH-121136) (#121139)

gh-121137: Add missing Py_DECREF calls for ADDITEMS opcode of _pickle.c (GH-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
(cherry picked from commit 92893fd8dc803ed7cdde55d29d25f84ccb5e3ef0)

Co-authored-by: Justin Applegate <70449145+Legoclones@users.noreply.github.com>
Modules/_pickle.c