blob: 6521ce9979691fa5409f3eb7430f0cce21b8862d [file] [log] [blame]
#include <stdlib.h>
int main(void)
{
int i;
for (i = 0; i < 20; i++) {
int* p;
p = malloc(800); // With --peak-inaccuracy=1000, the first 10 of
p = malloc(8); // 'free' calls result in peaks, but after that,
free(p); // only every second one does.
}
return 0;
}