I\'m running through some memory profiling for my application in SDK 3.2 and I used the \'Leak\' profiler to find all my memory leaks and I plugged all of them up. This is a sc
To reiterate:
char *str1 = malloc(1000); char *str2 = malloc(1000); . . . char *str1000 = malloc(1000);
is not a memory leak, but
char *str1 = malloc(1000); char *str1 = malloc(1000); //Note! No free(str1) in between!
is a memory leak