SIGN IN SIGN UP

[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>
M
Miss Islington (bot) committed
2405929c35239580aa0344f0e8fd31b87f9ccfe9
Parent: c9b9555
Committed by GitHub <noreply@github.com> on 6/29/2023, 6:41:01 PM