-
-
Notifications
You must be signed in to change notification settings - Fork 33.4k
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
vstinner
left a comment
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. |
|
GH-141154 is a backport of this pull request to the 3.14 branch. |
…path (pythonGH-140957) (cherry picked from commit d6c89a2) Co-authored-by: Stan Ulbrych <[email protected]>
…path (pythonGH-140957) (cherry picked from commit d6c89a2) Co-authored-by: Stan Ulbrych <[email protected]>
|
GH-141155 is a backport of this pull request to the 3.13 branch. |
It is already accounted for in the other path:
cpython/Objects/bytesobject.c
Lines 1049 to 1054 in b373d34
_PyBytes_FormatExerror path #140939