-
-
Notifications
You must be signed in to change notification settings - Fork 33.3k
gh-140939: Fix memory leak in _PyBytes_FormatEx error path
#140957
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
Thanks @StanFromIreland for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
|
Sorry, @StanFromIreland and @kumaraditya303, I could not cleanly backport this to |
|
Sorry, @StanFromIreland and @kumaraditya303, I could not cleanly backport this to |
|
I can backport. |
It is already accounted for in the other path:
cpython/Objects/bytesobject.c
Lines 1049 to 1054 in b373d34
_PyBytes_FormatExerror path #140939