I am new to Xcode Instruments. How can I see a simple memory leak difference in the following 2 programs by using the Leak template :
int main()
{
int* pp = new int[50000000];
for(int i =0;i<50000000;i++){
pp[i] = i;
}
}
int main()
{
int* pp = new int[1];
pp[0] = 10;
}