Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ********************************************************************
- ** Test Number: 8 **
- ***************************I*******************
- ** Your program generated the correct output **
- ** Checking valgrind... **
- ***********************************************
- *********************************************
- ** valgrind reports a memory error or leak **
- *********************************************
- ==132== Memcheck, a memory error detector
- ==132== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
- ==132== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
- ==132== Command: ./student.exe
- ==132==
- ==132==
- ==132== HEAP SUMMARY:
- ==132== in use at exit: 204,480 bytes in 2,130 blocks
- ==132== total heap usage: 25,244 allocs, 23,114 frees, 2,444,552 bytes allocated
- ==132==
- ==132== 204,480 (96 direct, 204,384 indirect) bytes in 1 blocks are definitely lost in loss record 2 of 2
- ==132== at 0x4848899: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
- ==132== by 0x109326: insert (student.c:14)
- ==132== by 0x109690: main (student.c:153)
- ==132==
- ==132== LEAK SUMMARY:
- ==132== definitely lost: 96 bytes in 1 blocks
- ==132== indirectly lost: 204,384 bytes in 2,129 blocks
- ==132== possibly lost: 0 bytes in 0 blocks
- ==132== still reachable: 0 bytes in 0 blocks
- ==132== suppressed: 0 bytes in 0 blocks
- ==132==
- ==132== For lists of detected and suppressed errors, rerun with: -s
- ==132== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
- ** End of Test 8 **
- ********************************************************************
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement