There was an error while loading. Please reload this page.
1 parent ff727ec commit 593430bCopy full SHA for 593430b
1 file changed
Python/pystate.c
@@ -2286,11 +2286,11 @@ _PyCrossInterpreterData_InitWithSize(_PyCrossInterpreterData *data,
2286
// where it was allocated, so the interpreter is required.
2287
assert(interp != NULL);
2288
_PyCrossInterpreterData_Init(data, interp, NULL, obj, new_object);
2289
- data->data = PyMem_Malloc(size);
+ data->data = PyMem_RawMalloc(size);
2290
if (data->data == NULL) {
2291
return -1;
2292
}
2293
- data->free = PyMem_Free;
+ data->free = PyMem_RawFree;
2294
return 0;
2295
2296
0 commit comments