Skip to content

gh-149931: Fix memory leaks on failed realloc#149932

Merged
pablogsal merged 3 commits into
python:mainfrom
aisk:leak-on-realloc
May 26, 2026
Merged

gh-149931: Fix memory leaks on failed realloc#149932
pablogsal merged 3 commits into
python:mainfrom
aisk:leak-on-realloc

Conversation

@aisk
Copy link
Copy Markdown
Member

@aisk aisk commented May 17, 2026

@aisk
Copy link
Copy Markdown
Member Author

aisk commented May 17, 2026

The changes in Modules/_remote_debugging/frames.c are in a different file in 3.13 branch. 3.13 support will ended in a few months, so I think it's OK to don't backport to it?

@aisk aisk added needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels May 17, 2026
Comment thread Misc/NEWS.d/next/Library/2026-05-17-14-58-21.gh-issue-149931.9Oh2go.rst Outdated
@aisk aisk added the skip news label May 17, 2026
Comment thread Modules/timemodule.c
@pablogsal
Copy link
Copy Markdown
Member

LGTM Great job!

@pablogsal pablogsal merged commit ec23ec6 into python:main May 26, 2026
52 checks passed
@miss-islington-app
Copy link
Copy Markdown

Thanks @aisk for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

@miss-islington-app
Copy link
Copy Markdown

Sorry, @aisk and @pablogsal, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker ec23ec6870373b64a760f4d7bcc3ed5495e1c9aa 3.14

@bedevere-app
Copy link
Copy Markdown

bedevere-app Bot commented May 26, 2026

GH-150439 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label May 26, 2026
@pablogsal
Copy link
Copy Markdown
Member

@aisk can you take care of the backports following the bot instructions?

@aisk aisk deleted the leak-on-realloc branch May 26, 2026 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants