title: libcurl - get content_type data (not free pointer)
body: <p>Please tell me one moment related to the option CURLINFO_CONTENT_TYPE:</p>
  <pre><code>char *cont_type_pointer = NULL;
  curl_easy_getinfo(curl, CURLINFO_CONTENT_TYPE, &amp;cont_type_pointer );
  </code></pre>
  <blockquote>
  <p>The &quot;cont_type_pointer&quot; pointer will be NULL or pointing to private memory you MUST NOT
  free it - it gets freed when you call curl_easy_cleanup on the
  corresponding CURL handle.</p>
  </blockquote>
  <p>This thing is unclear: &quot;you MUST NOT free it - it gets freed when you call curl_easy_cleanup&quot;</p>
  <p>And if after this request I do not call curl_easy_cleanup() and immediately make another request in which I also need to get data CURLINFO_CONTENT_TYPE ?? Will it be a memory leak ?</p>
  <p>The memory from the last request was not released by the &quot;cont_type_pointer&quot; pointer, and I am already making the second request.
  It's not clear.</p>