diff --git a/homework/resourceD/valgrind-output.txt b/homework/resourceD/valgrind-output.txt index e69de29b..2ed9f059 100644 --- a/homework/resourceD/valgrind-output.txt +++ b/homework/resourceD/valgrind-output.txt @@ -0,0 +1,26 @@ +valgrind --leak-check=full ./resourceD d +==4245== Memcheck, a memory error detector +==4245== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. +==4245== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info +==4245== Command: ./resourceD d +==4245== +Using resource. Passed d +Passed d. d is prohibited. +==4245== +==4245== HEAP SUMMARY: +==4245== in use at exit: 1 bytes in 1 blocks +==4245== total heap usage: 5 allocs, 4 frees, 74,948 bytes allocated +==4245== +==4245== 1 bytes in 1 blocks are definitely lost in loss record 1 of 1 +==4245== at 0x4846FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) +==4245== by 0x109335: main (resourceD.cpp:30) +==4245== +==4245== LEAK SUMMARY: +==4245== definitely lost: 1 bytes in 1 blocks +==4245== indirectly lost: 0 bytes in 0 blocks +==4245== possibly lost: 0 bytes in 0 blocks +==4245== still reachable: 0 bytes in 0 blocks +==4245== suppressed: 0 bytes in 0 blocks +==4245== +==4245== For lists of detected and suppressed errors, rerun with: -s +==4245== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)