The memory leak information is printed on "Output" window.
[ This advantage is in "Debug" mode only. ]
Example


int _tmain()
{
int* ptr = NULL;

ptr = (int*)malloc(sizeof(int)*20);