For a list of error messages returned by the Memory Analysis tool, see Summary of error messages for Memory Analysis.
To address resource leaks in your program, ensure that memory is deallocated on all paths, including error paths.
int main(int argc, char ** argv){ char * str = malloc(10); if (argc>1) { str = malloc(20); // ... } printf("Str: %s\n",str); free(str); return 0; }