sewardj | 99a2ceb | 2007-11-09 12:30:36 +0000 | [diff] [blame] | 1 | #include <stdlib.h> |
2 | |||||
3 | int main(int argc, char *argv[]) | ||||
4 | { | ||||
5 | char *pointer1 = 0; | ||||
6 | |||||
7 | pointer1 = malloc(64); /* Line 7 */ | ||||
8 | pointer1 = malloc(32); /* Leak report Line 8 */ | ||||
9 | pointer1 = NULL; /* Leak report Line 9 */ | ||||
10 | |||||
11 | return 0; | ||||
12 | } |