Brandan

Untitled

Oct 11th, 2014
307
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ==11720== HEAP SUMMARY:
  2. ==11720==     in use at exit: 984 bytes in 25 blocks
  3. ==11720==   total heap usage: 107 allocs, 82 frees, 20,771 bytes allocated
  4. ==11720==
  5. ==11720== 24 bytes in 1 blocks are still reachable in loss record 1 of 3
  6. ==11720==    at 0x4C2B0E0: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  7. ==11720==    by 0x403364: __static_initialization_and_destruction_0(int, int) (main.cpp:9)
  8. ==11720==    by 0x4033AA: _GLOBAL__sub_I_wineries (main.cpp:152)
  9. ==11720==    by 0x4038EC: __libc_csu_init (in /home/brandan/Desktop/College/Fall 2014/CS260/Project 1/CS260 Proj 1/dist/Debug/GNU-Linux-x86/cs260_proj_1)
  10. ==11720==    by 0x5372E54: (below main) (libc-start.c:246)
  11. ==11720==
  12. ==11720== 384 bytes in 12 blocks are definitely lost in loss record 2 of 3
  13. ==11720==    at 0x4C2B0E0: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  14. ==11720==    by 0x4026EF: list::ReadFromDisk() (list.cpp:266)
  15. ==11720==    by 0x402B5F: main (main.cpp:12)
  16. ==11720==
  17. ==11720== 576 bytes in 12 blocks are still reachable in loss record 3 of 3
  18. ==11720==    at 0x4C2B0E0: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  19. ==11720==    by 0x401E59: list::insert(Winery const&) (list.cpp:112)
  20. ==11720==    by 0x402939: list::ReadFromDisk() (list.cpp:278)
  21. ==11720==    by 0x402B5F: main (main.cpp:12)
  22. ==11720==
  23. ==11720== LEAK SUMMARY:
  24. ==11720==    definitely lost: 384 bytes in 12 blocks
  25. ==11720==    indirectly lost: 0 bytes in 0 blocks
  26. ==11720==      possibly lost: 0 bytes in 0 blocks
  27. ==11720==    still reachable: 600 bytes in 13 blocks
  28. ==11720==         suppressed: 0 bytes in 0 blocks
RAW Paste Data