title: Proper memory cleanup with c_str() and const char *
body: <p>I have a function that takes a (char* const*). The data I am provided is in a std::string. So I'm doing this:</p>
  
  <pre><code>void blahblah(std::string str)
  {
     const char * cc = str.c_str();
     ConstCharFunction(&amp;cc);
  }
  </code></pre>
  
  <p>This works well. My question is do I need to clean-up the memory used by the const char ala: </p>
  
  <pre><code>delete cc;
  </code></pre>
  
  <p>Or is cc just a pointer to a mem location in std:string... </p>