We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9c6735 commit 0afd99eCopy full SHA for 0afd99e
Python/pystate.c
@@ -461,7 +461,7 @@ alloc_interpreter(void)
461
// the first word of the memory block is used to store
462
// the original pointer to be used later to free the memory.
463
size_t alignment = _Alignof(PyInterpreterState);
464
- size_t allocsize = sizeof(PyInterpreterState) + sizeof(void*) + alignment - 1;
+ size_t allocsize = sizeof(PyInterpreterState) + sizeof(void *) + alignment - 1;
465
void *mem = PyMem_RawCalloc(1, allocsize);
466
if (mem == NULL) {
467
return NULL;
0 commit comments