I have a function that allocates memory like :
void funcA(void* args)
char* memory_leak = (char*)malloc(1000);
now I create a thread on this function, which therefore must allocate the mentioned memory, and exit.
My application is multi-threaded and I have created one more thread on this function.
But when I run Intel Inspector on my application, it doesnt show this as a memory leak.
I ran both mi1 and mi2 level of memory analysis but this leak was not detected.
Any ideas ?