Advertisement
darius1825

d

Mar 5th, 2023
36
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. ********************************************************************
  2. ** Test Number: 8 **
  3.  
  4.  
  5. ***************************I*******************
  6. ** Your program generated the correct output **
  7. ** Checking valgrind... **
  8. ***********************************************
  9.  
  10.  
  11. *********************************************
  12. ** valgrind reports a memory error or leak **
  13. *********************************************
  14.  
  15.  
  16. ==132== Memcheck, a memory error detector
  17. ==132== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
  18. ==132== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
  19. ==132== Command: ./student.exe
  20. ==132==
  21. ==132==
  22. ==132== HEAP SUMMARY:
  23. ==132== in use at exit: 204,480 bytes in 2,130 blocks
  24. ==132== total heap usage: 25,244 allocs, 23,114 frees, 2,444,552 bytes allocated
  25. ==132==
  26. ==132== 204,480 (96 direct, 204,384 indirect) bytes in 1 blocks are definitely lost in loss record 2 of 2
  27. ==132== at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
  28. ==132== by 0x109326: insert (student.c:14)
  29. ==132== by 0x109690: main (student.c:153)
  30. ==132==
  31. ==132== LEAK SUMMARY:
  32. ==132== definitely lost: 96 bytes in 1 blocks
  33. ==132== indirectly lost: 204,384 bytes in 2,129 blocks
  34. ==132== possibly lost: 0 bytes in 0 blocks
  35. ==132== still reachable: 0 bytes in 0 blocks
  36. ==132== suppressed: 0 bytes in 0 blocks
  37. ==132==
  38. ==132== For lists of detected and suppressed errors, rerun with: -s
  39. ==132== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
  40.  
  41.  
  42. ** End of Test 8 **
  43. ********************************************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement