Running with memleak detection:

  • valgrind —tool=memcheck —leak-check=full —show-leak-kinds=all ./program

Links: * https://eklitzke.org/an-introduction-to-valgrind-memcheck

Go to index of articles.

Share on