cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: memory leak or my error?

From: Edward Chan <echan_at_macromedia.com>
Date: Thu, 29 May 2003 12:52:07 -0700

That code looks fine. Is it possible that you are dynamically allocating memory elsewhere that you use and are fogetting to free? Is dst_str being allocated each time?

Ed

> -----Original Message-----
> From: Paul Accosta [mailto:paco_at_hungary.cc]
> Sent: Thursday, May 29, 2003 12:11 PM
> To: curl-library_at_lists.sourceforge.net
> Subject: memory leak or my error?
>
>
> Im basically just doing a get of a webpage, its boils donw to 4 basic
> calls:
>
> curl = curl_easy_init();
> curl_easy_setopt(curl, CURLOPT_URL, dst_str);
> res = curl_easy_perform(curl);
> curl_easy_cleanup(curl);
>
> Ive noticed my memory keeps rising, I monitored it carefully
> and notice that it rises significantly with the perform call
> and never drops back down. Is there something else I need to
> do to fix this?
>
> Paco
>
> ps.Thanks for all the help last time, your ideas worked for me
>
>
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: eBay
> Get office equipment for less on eBay!
> http://adfarm.mediaplex.com/ad/ck/711-11697-> 6916-5
>

-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
Received on 2003-05-29