]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] Fix possible refleak in CodeType.replace() (GH-106243) (GH-106244)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 29 Jun 2023 18:41:01 +0000 (11:41 -0700)
committerGitHub <noreply@github.com>
Thu, 29 Jun 2023 18:41:01 +0000 (21:41 +0300)
commit2405929c35239580aa0344f0e8fd31b87f9ccfe9
tree894bb8d3cb3769e2ec5cde368a70c2d2d34eee9b
parentc9b9555650fee56a2fcb66c1db25e2b57f71a5d9
[3.12] Fix possible refleak in CodeType.replace() (GH-106243) (GH-106244)

Fix possible refleak in CodeType.replace() (GH-106243)

A reference to c_code was leaked if PySys_Audit() failed.
(cherry picked from commit 3c70d467c148875f2ce17bacab8909ecc3e9fc1d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Objects/codeobject.c