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 | char *pointer2 = 0; | ||||
7 | |||||
8 | pointer1 = malloc(64); /* Line 8. */ | ||||
9 | pointer2 = pointer1; | ||||
10 | pointer1 = NULL; | ||||
11 | pointer2 = NULL; /* Leak report Line 11. */ | ||||
12 | |||||
13 | return 0; | ||||
14 | } |