cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Program hangs in curl_slist_free_all the third time through my loop

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Tue, 18 May 2004 14:22:05 +0200 (CEST)

On Fri, 7 May 2004, Paul Dore wrote:

(I have no idea why this post took 11 days to reach the list...)

> I am trying to get my first libcurl app running. I am doing http posts to a
> site. I am re-using the same easy handle each time, just changing the
> headers and the postdata each post.
>
> My problem is that the program hangs the third tme I call
> curl_slist_free_all.
>
> Has anyone seen this problem?

curl_slist_free_all() merely walks through the list and frees the entries
previously added with curl_slist_append(). It indicates a memory-related
problem in your program or similar.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-05-18