cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: memory does not freed in windows

From: Meir Yanovich <meiry242_at_gmail.com>
Date: Wed, 15 Oct 2008 21:16:40 +0200

ok thanks , and if im here already i have one more question
the code above is called each time i connected to url and retrive the
info from the page ( with GET)
do i really need to init the curl every time on each request ?
or there is any other way some thing like init the curl make my
requests and then deinit curl ?

On Wed, Oct 15, 2008 at 6:29 PM, Wei Weng <wweng_at_acedsl.com> wrote:
> Meir Yanovich wrote:
>> Hello and thanks for the fast reply , im downloading all the web page
>> content but i do free the string witch
>> get the content from curl .
>> one thing i didnt understand is where to use : curl_global_cleanup
>>
>
> It should be used when you are done with curl business (you are sure that you
> won't be using curl related calls anymore), so curl_global_cleanup can start
> cleaning up all the resources it has allocated for curl.
>
> Thanks
> Wei
>
>
Received on 2008-10-15