njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 1 | #include <stdlib.h> |
2 | |||||
sewardj | 11818b2 | 2002-03-29 04:11:48 +0000 | [diff] [blame] | 3 | static void test() |
4 | { | ||||
5 | void* leak; | ||||
6 | int i; | ||||
7 | for (i = 0; i < 1000; i++) | ||||
njn25 | e49d8e7 | 2002-09-23 09:36:25 +0000 | [diff] [blame] | 8 | leak = (void*)malloc( 1 ); |
sewardj | 11818b2 | 2002-03-29 04:11:48 +0000 | [diff] [blame] | 9 | } |
10 | int main() | ||||
11 | { | ||||
12 | test(); | ||||
13 | return 0; | ||||
14 | } |