4 #include "../../memcheck.h"
9 VALGRIND_DO_LEAK_CHECK
;
10 pi
= reallocf(pi
, 10*sizeof(int));
11 VALGRIND_DO_ADDED_LEAK_CHECK
;
14 VALGRIND_DO_CHANGED_LEAK_CHECK
;
16 pi
= realloc(pi
, 10*sizeof(int));
17 VALGRIND_DO_ADDED_LEAK_CHECK
;
19 pi
= reallocf(pi
, 1UL << 49);
21 assert(errno
== ENOMEM
);
22 VALGRIND_DO_CHANGED_LEAK_CHECK
;