After getting some crashes I verified the demo code using Apple's instruments tool to detect leaks and it keeps showing a leak on:
extention.c - line 43 :
void* _malloc (size_t size, const char* file, int line) {
if(debugMallocFunc)
return debugMallocFunc(size, file, line);
return mallocFunc(size);
}
Any idea how to solve this issue? it basically leaks every time I upload a skeleton which eventually causes the app to run out of memory and crash...
Thanks for your help!



After getting some crashes I verified the demo code using Apple's instruments tool to detect leaks and it keeps showing a leak on:
extention.c - line 43 :
void* _malloc (size_t size, const char* file, int line) {
if(debugMallocFunc)
return debugMallocFunc(size, file, line);
return mallocFunc(size);
}
Any idea how to solve this issue? it basically leaks every time I upload a skeleton which eventually causes the app to run out of memory and crash...
Thanks for your help!