-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
Fix possible refleak in CodeType.replace() #106243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix possible refleak in CodeType.replace() #106243
Conversation
A reference to c_code was leaked if PySys_Audit() failed.
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
A reference to c_code was leaked if PySys_Audit() failed. (cherry picked from commit 3c70d46) Co-authored-by: Serhiy Storchaka <[email protected]>
GH-106244 is a backport of this pull request to the 3.12 branch. |
GH-106245 is a backport of this pull request to the 3.11 branch. |
A reference to c_code was leaked if PySys_Audit() failed. (cherry picked from commit 3c70d46) Co-authored-by: Serhiy Storchaka <[email protected]>
) Fix possible refleak in CodeType.replace() (GH-106243) A reference to c_code was leaked if PySys_Audit() failed. (cherry picked from commit 3c70d46) Co-authored-by: Serhiy Storchaka <[email protected]>
) Fix possible refleak in CodeType.replace() (GH-106243) A reference to c_code was leaked if PySys_Audit() failed. (cherry picked from commit 3c70d46) Co-authored-by: Serhiy Storchaka <[email protected]>
|
A reference to c_code was leaked if PySys_Audit() failed.