Willian Padovani Germano wrote: > Are you using a malloc (MEM_mallocN or the Python malloc or the libc > one) to get memory for data? Oops... no, in this instance I probably should use the PyMem_Malloc() and friends (always use MEM_callocN() and MEM_freeN ()otherwise). I'll fix that. Ken