cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Implications?

From: Michael Wallner <mike_at_iworks.at>
Date: Tue, 12 Sep 2006 09:28:13 +0200

Daniel Stenberg wrote:
> On Mon, 11 Sep 2006, Michael Wallner wrote:
>
>> Source attached.
>
> BTW, a small note on the test code that might not be significant for
> anything:
>
> When you call curl_multi_remove_handle() on an easy handle on line 125,
> it will free() the data you previously got a pointer to when you called
> curl_multi_info_read() on line 120, so the following curl_easy_cleanup()
> on line 126 gets a pointer passed in that is stored in already-freed
> memory.

Doh! Thanks, good to know :)

-- 
Michael
Received on 2006-09-12