Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions hello.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ int main (int argc, char **argv)
{
int unused;
char *ptr = NULL;
char leak2;

if (argc < 0) {
printf ("abnormal termination\n");
Expand All @@ -40,6 +41,7 @@ int main (int argc, char **argv)
printf ("logically dead code\n");
}

leak2 = malloc(512);
printf ("hello world\n");
return(0);
}