SIGN IN SIGN UP

[3.11] Fix possible refleak in CodeType.replace() (GH-106243) (GH-106245)

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
8623812fdc1182dcf580f4954d9d92438fa60a41
Parent: b952ebe
Committed by GitHub <noreply@github.com> on 6/29/2023, 6:41:18 PM