Originally Posted By: Yashas
Will sys_free work for big char pointer arrays??
Ex:char * collection[1024];

No, because its statically allocated. Only use sys_free where you have used sys_malloc.

Originally Posted By: Yashas
1. Fix Memory Leaks

Thats not optimization, its bug fixing, cause sooner or later memory leaks will disgracefully end your application.

Originally Posted By: Yashas
Using pointers wherever possible instead of arrays
Arrays are pointers to memory areas. So what is this supposed to do?


Always learn from history, to be sure you make the same mistakes again...