There is on more thing which makes the allokation of memory safer.

if you use sys_malloc instead of the normal malloc, the engine will release this memory automaticlly when the game closes. However you should release the memory manually via sys_free(mixing the C methods with the engine methods causes errors).


muffel