Skip to content

Instantly share code, notes, and snippets.

@kyleterry
Created January 14, 2014 06:32
Show Gist options
  • Save kyleterry/8414045 to your computer and use it in GitHub Desktop.
Save kyleterry/8414045 to your computer and use it in GitHub Desktop.
==27151==
==27151== HEAP SUMMARY:
==27151== in use at exit: 65,852 bytes in 3 blocks
==27151== total heap usage: 2,000,028 allocs, 2,000,025 frees, 66,007,218 bytes allocated
==27151==
==27151== 20 bytes in 1 blocks are definitely lost in loss record 1 of 3
==27151== at 0x4C27730: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27151== by 0x402ECD: ol_jar (oleg.c:197)
==27151== by 0x4016B7: test_scoop (test.c:118)
==27151== by 0x401CD1: run_tests (test.c:218)
==27151== by 0x401174: main (main.c:40)
==27151==
==27151== 65,832 (296 direct, 65,536 indirect) bytes in 1 blocks are definitely lost in loss record 3 of 3
==27151== at 0x4C27730: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==27151== by 0x402768: ol_open (oleg.c:23)
==27151== by 0x401264: test_open_close (test.c:17)
==27151== by 0x401AED: run_tests (test.c:214)
==27151== by 0x401174: main (main.c:40)
==27151==
==27151== LEAK SUMMARY:
==27151== definitely lost: 316 bytes in 2 blocks
==27151== indirectly lost: 65,536 bytes in 1 blocks
==27151== possibly lost: 0 bytes in 0 blocks
==27151== still reachable: 0 bytes in 0 blocks
==27151== suppressed: 0 bytes in 0 blocks
==27151==
==27151== For counts of detected and suppressed errors, rerun with: -v
==27151== ERROR SUMMARY: 8 errors from 8 contexts (suppressed: 2 from 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment