Hello Champs,
Customer wanted to use malloc function.
#include <stdlib.h>
short*pnLoadMagRectFlag = (PIXELTYPE*)malloc(nTemplateSize*sizeof(short));
if(pnLoadMagRectFlag==0x00)
{
malloc_error++;
return;
}
……
free(pnLoadMagRectFlag);
Code is stuck in malloc API function. Pause the emulator, the code is stopped in \ti\ccsv6\tools\compiler\c6000_7.4.8\lib\src\memory.c
Thanks.
Rgds
Shine