mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-12 06:11:37 +00:00
other wrappers in that it took place before the silly-args check. Testcase and patch by Yann Droneaud (yann@droneaud.fr). Fixes #281482 Also included is a related fix to MC_(new_block). Incrementing the alloc counter and updating the allocated memory amount should occur under the same condition (allocation succeeded). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12324
12 lines
336 B
Plaintext
12 lines
336 B
Plaintext
|
|
Warning: silly arg (-1) to realloc()
|
|
|
|
HEAP SUMMARY:
|
|
in use at exit: 0 bytes in 0 blocks
|
|
total heap usage: 1 allocs, 1 frees, 1 bytes allocated
|
|
|
|
For a detailed leak analysis, rerun with: --leak-check=full
|
|
|
|
For counts of detected and suppressed errors, rerun with: -v
|
|
ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
|