Imagination PowerVR SDK Blog

PVRT Memory Management


#1

I’m just tracking down a bug we have when deleting a POD model using the PVRT classes, and from what I can see you’re mixing C memory allocation routines with C++ allocation routines. Sometimes malloc, realloc, calloc and free are used, sometimes new/delete. I’m going to have to go through and standardise it here, as it needs to be done soon, but I just thought I should let you know so it can be fixed in the future :slight_smile: