]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-90815: Fix _PyMem_MimallocEnabled() compiler warning (#111522)
authorVictor Stinner <vstinner@python.org>
Mon, 30 Oct 2023 22:05:49 +0000 (23:05 +0100)
committerGitHub <noreply@github.com>
Mon, 30 Oct 2023 22:05:49 +0000 (23:05 +0100)
commitda4d3142a247fc77da508a4b3261e6642a196052
tree4aaa3a0ed012839a1ec18411af398a7316dc2e60
parent804a207c168b876112984709edc3a94afa433c69
gh-90815: Fix _PyMem_MimallocEnabled() compiler warning (#111522)

Don't declare _PyMem_MimallocEnabled() if WITH_PYMALLOC macro is not
defined (./configure --without-pymalloc).

Fix also a typo in _PyInterpreterState_FinalizeAllocatedBlocks().
Objects/obmalloc.c