TS
Size: a a a
TS
K
IS
AB
IS
АК
IS
AB
PK
MV
8 bytes in 1 blocks are definitely lost in loss record 1 of 14
at 0x........: malloc (vg_replace_malloc.c:...)
by 0x........: mk (leak-tree.c:11)
by 0x........: main (leak-tree.c:39)
==621==
==621== 4,000 bytes in 1 blocks are definitely lost in loss record 1 of 1
==621== at 0x4815BEC: malloc (in /usr/lib/valgrind/vgpreload_memcheck-arm-linux.so)
==621==
IS
K
K
K
int main() {Собираю gcc
p = malloc(7);
p = 0; // The memory is leaked here.
return 0;
}
TS
int main() {Собираю gcc
p = malloc(7);
p = 0; // The memory is leaked here.
return 0;
}
SK
SK
K
K
SK