njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 1 | |
2 | |||||
3 | #include <stdio.h> | ||||
4 | #include <stdlib.h> | ||||
5 | |||||
6 | int main ( void ) | ||||
7 | { | ||||
8 | void* p = (void*)0x87654321; | ||||
9 | int q[] = { 1, 2, 3 }; | ||||
10 | |||||
11 | /* Free a pointer to Never-Never Land */ | ||||
12 | free(p); | ||||
13 | |||||
14 | /* Free a pointer to a stack block */ | ||||
15 | free(q); | ||||
16 | |||||
17 | return 0; | ||||
18 | } |