Description
Running valgrind --leak-check=yes ./cetest gives us this:
==14094== LEAK SUMMARY: ==14094== definitely lost: 964,351 bytes in 1,154 blocks ==14094== indirectly lost: 75,506 bytes in 3,777 blocks ==14094== possibly lost: 0 bytes in 0 blocks ==14094== still reachable: 554 bytes in 22 blocks ==14094== suppressed: 0 bytes in 0 blocks ==14094== Reachable blocks (those to which a pointer was found) are not shown. ==14094== To see them, rerun with: --leak-check=full --show-leak-kinds=all ==14094== ==14094== For counts of detected and suppressed errors, rerun with: -v ==14094== ERROR SUMMARY: 373 errors from 373 contexts (suppressed: 0 from 0)