$ valgrind --leak-check=full --log-file="log.out" ./hello_world
==21728== 1,280,000 bytes in 10,000 blocks are definitely lost in loss record 16 of 16
==21728== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21728== by 0x4C2FDEF: realloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==21728== by 0x5053855: pthread_attr_setaffinity_np@@GLIBC_2.3.4 (pthread_attr_setaffinity.c:47)
==21728== by 0x427E13: SNN::clearExtFiringTable() (in /home/mbeyeler/source/CARLsim4/projects/hello_world/hello_world)
==21728== by 0x43EBE0: SNN::runNetwork(int, int, bool) (in /home/mbeyeler/source/CARLsim4/projects/hello_world/hello_world)
==21728== by 0x40899B: CARLsim::runNetwork(int, int, bool) (in /home/mbeyeler/source/CARLsim4/projects/hello_world/hello_world)
==21728== by 0x40589E: main (in /home/mbeyeler/source/CARLsim4/projects/hello_world/hello_world)
==21728==
==21728== LEAK SUMMARY:
==21728== definitely lost: 10,251,008 bytes in 80,024 blocks
==21728== indirectly lost: 0 bytes in 0 blocks
==21728== possibly lost: 0 bytes in 0 blocks
==21728== still reachable: 72,736 bytes in 2 blocks
==21728== suppressed: 0 bytes in 0 blocks