title: OpenSSL EVP Leaking Bytes
body: <p>I'm using <a href="https://wiki.openssl.org/index.php/EVP_Symmetric_Encryption_and_Decryption" rel="nofollow">OpenSSL's EVP routine</a> and can not eliminate all still reachable memory. The tutorial linked above leaks this much:</p>
  
  <pre><code>==30413== LEAK SUMMARY:
  ==30413==    definitely lost: 0 bytes in 0 blocks
  ==30413==    indirectly lost: 0 bytes in 0 blocks
  ==30413==      possibly lost: 0 bytes in 0 blocks
  ==30413==    still reachable: 2,200 bytes in 27 blocks
  ==30413==         suppressed: 0 bytes in 0 blocks
  </code></pre>
  
  <p>and with the addition of the answer <a href="https://stackoverflow.com/questions/18503993/memory-leak-in-openssl-function-evp-encryptfinal-ex">here</a>, I was able to get it down to:</p>
  
  <pre><code>==30437== LEAK SUMMARY:
  ==30437==    definitely lost: 0 bytes in 0 blocks
  ==30437==    indirectly lost: 0 bytes in 0 blocks
  ==30437==      possibly lost: 0 bytes in 0 blocks
  ==30437==    still reachable: 744 bytes in 13 blocks
  ==30437==         suppressed: 0 bytes in 0 blocks
  </code></pre>
  
  <p><strong>Is it possible to eliminate these? Is it something I should even bother with?</strong> </p>
  
  <p>I've seen conflicting answers on SO stating that "still reachable" memory is a memory leak and others saying it isn't, hence my confusion.</p>