-
Notifications
You must be signed in to change notification settings - Fork 0
/
valgrind-leak.rpt
33 lines (29 loc) · 1.23 KB
/
valgrind-leak.rpt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
==38635== Memcheck, a memory error detector
==38635== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==38635== Using Valgrind-3.21.0 and LibVEX; rerun with -h for copyright info
==38635== Command: ./valgrind-memory
==38635== Parent PID: 5514
==38635==
==38635==
==38635== HEAP SUMMARY:
==38635== in use at exit: 4 bytes in 1 blocks
==38635== total heap usage: 2 allocs, 1 frees, 73,732 bytes allocated
==38635==
==38635== 4 bytes in 1 blocks are definitely lost in loss record 1 of 1
==38635== at 0x4845FA3: operator new(unsigned long) (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so)
==38635== by 0x109158: main (valgrind-memory.cpp:5)
==38635==
==38635== LEAK SUMMARY:
==38635== definitely lost: 4 bytes in 1 blocks
==38635== indirectly lost: 0 bytes in 0 blocks
==38635== possibly lost: 0 bytes in 0 blocks
==38635== still reachable: 0 bytes in 0 blocks
==38635== suppressed: 0 bytes in 0 blocks
==38635==
==38635== For lists of detected and suppressed errors, rerun with: -s
==38635== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
operator delete
Address 0x123 is not stack'd, malloc'd or (recently) free'd
Use of uninitialised value of size 123
frxian-
0x123 f'd