1 #include <stdlib.h>
2 
3 int main(void)
4 {
5    int i;
6    for (i = 0; i < 20; i++) {
7       int* p;           // Sizes are divisible by 16 -- no slop.
8       p = malloc(1600); // With --peak-inaccuracy=1000, the first 10 of
9       p = malloc(16);   // 'free' calls result in peaks, but after that,
10       free(p);          // only every second one does.
11    }
12    return 0;
13 }
14