I made a message earlier, asking about checking for memory leaks, etc., I really said that I did not know what was with the terminal in linux, but someone told me that it was easy with valgrind
I managed to run it, etc., but am not sure what the exit means. Looking at me, everything looks good to me, but I would like to let it pass you by when you may feel folk. The output is as follows:
^C==2420== ==2420== HEAP SUMMARY: ==2420== in use at exit: 2,240 bytes in 81 blocks ==2420== total heap usage: 82 allocs, 1 frees, 2,592 bytes allocated ==2420== ==2420== LEAK SUMMARY: ==2420== definitely lost: 0 bytes in 0 blocks ==2420== indirectly lost: 0 bytes in 0 blocks ==2420== possibly lost: 0 bytes in 0 blocks ==2420== still reachable: 2,240 bytes in 81 blocks ==2420== suppressed: 0 bytes in 0 blocks ==2420== Reachable blocks (those to which a pointer was found) are not shown. ==2420== To see them, rerun with:
Is everything okay here? The only thing that concerns me is the still accessible part. This is normal?
Thank you all
source share