1
I’m trying to use Valgrind for Linux in order to check for memory loss, however the error shown in the terminal does not show on which specific line it is.
==4873== Address 0x4a4e047 is 0 bytes after a block of size 7 alloc’d
==4873== at 0x483DD99: calloc (in /usr/lib/x86_64-linux-gnu/Valgrind/vgpreload_memcheck-amd64-linux.so)
==4873== by 0x109221: getName (in /home/Rodrigo/Documents/Vscodetest/a. out)
==4873== by 0x1091D5: main (in /home/Rodrigo/Documents/Vscodetest/a. out)