Better macro to detect leaks at extension.h:
/* Allocates a new char[], assigns it to TO, and copies FROM to it. Can be used on const types. /
#define MALLOC_STR(TO,FROM) strcpy(CONST_CAST(char, TO) = (char*)MALLOC(char, strlen(FROM) + 1), FROM)
SkeletonJson.c line 514
if (path) MALLOC_STR(region->path, path);
Never free path value.
Also, sometimes I get memory leaks at spTrackEntry* _spTrackEntry_create () for the call:
spTrackEntry* entry = NEW(spTrackEntry);
Can't catch exactly when, on some animation changes (very quickly)