<pclass="level0">This function releases resources acquired by <aclass="bold"href="./curl_global_init.html">curl_global_init(3)</a>.
<pclass="level0">You should call <aclass="emphasis"href="./curl_global_cleanup.html">curl_global_cleanup(3)</a> once for each call you make to <aclass="emphasis"href="./curl_global_init.html">curl_global_init(3)</a>, after you are done using libcurl.
<pclass="level0"><spanClass="bold">This function is not thread safe.</span> You must not call it when any other thread in the program (i.e. a thread sharing the same memory) is running. This doesn't just mean no other thread that is using libcurl. Because <aclass="bold"href="./curl_global_cleanup.html">curl_global_cleanup(3)</a> calls functions of other libraries that are similarly thread unsafe, it could conflict with any other thread that uses these other libraries.
<pclass="level0">See the description in <aclass="bold"href="./libcurl.html">libcurl(3)</a> of global environment requirements for details of how to use this function.