Originally posted on SIGQUIT:
I tried to write a tutorial focusing on the type of memory leaks as detected internally by Valgrind and the generated output leak reports.
The PDF is available in the following URL:
And the simple C tester to generate each type of memory leak (cases 1 to 9 in the Valgrind Manual) is available here:
Comments, fixes, whatever… highly appreciated. You could even send me a diff file to the original LaTeX source, available in:
The document is licensed under the GFDL 1.3, and the tester is published in the public domain.