Advertisement
Guest User

Untitled

a guest
Sep 22nd, 2019
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. valgrind --track-origins=yes --leak-check=full --show-leak-kinds=all ./foo matrix2 2
  2. ==3159== Memcheck, a memory error detector
  3. ==3159== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
  4. ==3159== Using Valgrind-3.14.0 and LibVEX; rerun with -h for copyright info
  5. ==3159== Command: ./foo matrix2 2
  6. ==3159==
  7. index = 0, op.id = 0, buf[i] = A
  8. index = 0, op.id = 0, buf[i] = *
  9. index = 1, op.id = 0, buf[i] = B
  10. 2 1
  11. 1 1
  12. *
  13. 1 1
  14. 2 1
  15. =
  16. 4 3
  17. 3 2
  18. ==3159==
  19. ==3159== HEAP SUMMARY:
  20. ==3159== in use at exit: 0 bytes in 0 blocks
  21. ==3159== total heap usage: 7 allocs, 7 frees, 5,800 bytes allocated
  22. ==3159==
  23. ==3159== All heap blocks were freed -- no leaks are possible
  24. ==3159==
  25. ==3159== For counts of detected and suppressed errors, rerun with: -v
  26. ==3159== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement