Re: curl_easy_cleanup with curl_multi_info_read
Date: Thu, 19 Feb 2004 15:35:17 +0100 (CET)
On Wed, 18 Feb 2004, codemastr wrote:
> When I use curl_multi_info_read(), I get a CURLMsg struct (msg). Is doing:
> A safe way to cleanup that handle when I'm done with it? Or must I keep a
> list of the easy handles somewhere else and cleanup like that?
The memory used for the struct that curl_multi_info_read() returns is
allocated per easy-handle in the multi-handle.
That means the struct will be freed when you call curl_multi_remove_handle()
Does this answer your question?
-- Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/ [[ Do not send mails to this email address. They won't reach me. ]]Received on 2004-02-19