title: Simple examples to the different leak types reported by Valgrind
body: <p>While debugging a leaky application, I noticed <a href="https://stackoverflow.com/questions/tagged/valgrind">many, many</a> questions regarding valgrind and the different types of leaks. These questions usually have very specific examples that don't help understanding how the different types of leaks come to be. A reference is this <a href="https://stackoverflow.com/a/9956375/6271889">read the manual answer</a>.</p>
  <p>What are the <a href="https://stackoverflow.com/help/minimal-reproducible-example">mcve</a> for valgrind?</p>