Skip to content

[3.15] gh-146527: Fix memory leak in _PyGC_Fini() (GH-150969)#150970

Merged
vstinner merged 1 commit into
python:3.15from
miss-islington:backport-0036565-3.15
Jun 5, 2026
Merged

[3.15] gh-146527: Fix memory leak in _PyGC_Fini() (GH-150969)#150970
vstinner merged 1 commit into
python:3.15from
miss-islington:backport-0036565-3.15

Conversation

@miss-islington
Copy link
Copy Markdown
Contributor

@miss-islington miss-islington commented Jun 5, 2026

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants