Where i should add the free , in which module (oscam-simples.c or after all the lines i had called cs_malloc in all modules?! or in oscam.c , function: main() ? ) , if i would write it in any other...
Type: Posts; User: jimycn
Where i should add the free , in which module (oscam-simples.c or after all the lines i had called cs_malloc in all modules?! or in oscam.c , function: main() ? ) , if i would write it in any other...
Well , i think nowhere , i knew , this might be the case , but the problem is i really don't know where i have to free(tmp) , in the first thread , i made a link of entire trunk source code for this...
Hi guys
had written cs_malloc to encapsulates malloc , the result would be automatically filled with the new memory position or NULL on failure . but seems there is some bug in my cs_malloc function...