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