Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Switch to the raw allocator.
  • Loading branch information
ericsnowcurrently committed Apr 5, 2023
commit 10c35890e88a5390ea367d57bfcb1018090fe543
4 changes: 2 additions & 2 deletions Modules/_xxinterpchannelsmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@ API.. The module does not create any objects that are shared globally.


#define GLOBAL_MALLOC(TYPE) \
PyMem_NEW(TYPE, 1)
PyMem_RawMalloc(sizeof(TYPE))
#define GLOBAL_FREE(VAR) \
PyMem_Free(VAR)
PyMem_RawFree(VAR)


static PyInterpreterState *
Expand Down