]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-121460: Skip freeing unallocated arenas (gh-121589)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 10 Jul 2024 17:05:11 +0000 (19:05 +0200)
committerGitHub <noreply@github.com>
Wed, 10 Jul 2024 17:05:11 +0000 (17:05 +0000)
commit867cf402792bfc3b6db01c800cbce0e59fb3cfe1
treefa0a46e0f492cb9e5a1f212ba975b3fa85eb638d
parent0113c56a203c3569013c6d08486ccce2e9b7016b
[3.13] gh-121460: Skip freeing unallocated arenas (gh-121589)

`munmap(NULL)` is not noop, like `free(NULL)` is.

Fixes an observed testsuite hang on 32-bit ARM systems.

(cherry picked from commit a802277914405786f6425f2776605c44bd407fc0, AKA gh-121491)

Co-authored-by: Stefano Rivera <stefano@rivera.za.net>
Objects/obmalloc.c