SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

gh-140067: Fix memory leak in sub-interpreter creation (#140111) (#140261)

Fix memory leak in sub-interpreter creation caused by overwriting of the previously used `_malloced` field. Now the pointer is stored in the first word of the memory block to avoid it being overwritten accidentally. 

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
K
Kumar Aditya committed
58c44c2bf2e6d251548652a21d9ee27265ee6dea
Parent: c8729c9
Committed by GitHub <noreply@github.com> on 10/18/2025, 11:06:58 AM