memcheck/tests/sh-mem-random.c: Set huge_addr to 240GB
[valgrind.git] / memcheck / tests / trivialleak.c
blob7ffcb8735c9848ffe3844a10a99189901d6638f6
1 #include <stdlib.h>
3 static void test()
5 void* leak __attribute__((unused));
6 int i;
7 for (i = 0; i < 1000; i++)
8 leak = (void*)malloc( 1 );
10 int main()
12 test();
13 return 0;