Change PyMem_Malloc to be gc_malloc instead of malloc
I didn't realize that pymem.h defined it originally to be malloc(), which was messing things up when we would start allocating GC objects using malloc(). Now that that's redefined, I *think* that as long as everything uses the API functions, we shouldn't need to override / hook malloc(). There are a number of uses of raw malloc() in the Modules directory; I hope that they're mostly string-related.
Showing
src/gc/gc_alloc.cpp
0 → 100644
Please register or sign in to comment