◐ Shell
clean mode source ↗

[3.15] gh-146527: Fix memory leak in _PyGC_Fini() (GH-150969) by miss-islington · Pull Request #150970 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@miss-islington

@miss-islington miss-islington commented

Jun 5, 2026

edited by bedevere-app Bot

Loading

Copy link Copy Markdown

Contributor

Free generation_stats allocated by _PyGC_Init().

Fix Python/gc.c: Python/gc_free_threading.c was already fixed.
(cherry picked from commit 0036565)

Co-authored-by: Victor Stinner vstinner@python.org

Free generation_stats allocated by _PyGC_Init().

Fix Python/gc.c: Python/gc_free_threading.c was already fixed.
(cherry picked from commit 0036565)

Co-authored-by: Victor Stinner <vstinner@python.org>

@vstinner vstinner merged commit 06ffcde into python:3.15

Jun 5, 2026

59 checks passed

@miss-islington miss-islington deleted the backport-0036565-3.15 branch

June 5, 2026 14:11

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@pablogsal pablogsal pablogsal approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@miss-islington @pablogsal @vstinner