Skip to content

Commit 0afd99e

Browse files
Update Python/pystate.c
Co-authored-by: Kumar Aditya <[email protected]>
1 parent e9c6735 commit 0afd99e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/pystate.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ alloc_interpreter(void)
461461
// the first word of the memory block is used to store
462462
// the original pointer to be used later to free the memory.
463463
size_t alignment = _Alignof(PyInterpreterState);
464-
size_t allocsize = sizeof(PyInterpreterState) + sizeof(void*) + alignment - 1;
464+
size_t allocsize = sizeof(PyInterpreterState) + sizeof(void *) + alignment - 1;
465465
void *mem = PyMem_RawCalloc(1, allocsize);
466466
if (mem == NULL) {
467467
return NULL;

0 commit comments

Comments
 (0)