]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-146527: Fix memory leak in _PyGC_Fini() (#150969)
authorVictor Stinner <vstinner@python.org>
Fri, 5 Jun 2026 13:43:05 +0000 (15:43 +0200)
committerGitHub <noreply@github.com>
Fri, 5 Jun 2026 13:43:05 +0000 (13:43 +0000)
commit0036565e81b9580d645862bcc6249e2ae4f1fd03
treea2a2a90d315c20995c342773a77edf8792bb2d89
parentc195a046f81d986dce22743d85e2500fe282e8a9
gh-146527: Fix memory leak in _PyGC_Fini() (#150969)

Free generation_stats allocated by _PyGC_Init().

Fix Python/gc.c: Python/gc_free_threading.c was already fixed.
Python/gc.c