cURL / Mailing Lists / curl-library / Single Mail

curl-library

curl_multi_info_read and free

From: Brian Akins <bakins_at_web.turner.com>
Date: Fri, 29 Oct 2004 08:51:38 -0400

In the docs for curl_multi_info_read it says it returns:

A pointer to a filled-in struct, or NULL if it failed or ran out of
structs. It also writes the number of messages left in the queue (after
this read) in the integer the second argument points to.

Do I need to free this message? How do I ensure I don't "run out of
structs"? I have a long running process that doesn't need to leak
memory or run out of structs.

Thanks.

-- 
Brian Akins
Lead Systems Engineer
CNN Internet Technologies
Received on 2004-11-01