curl-library
Re: Properly freeing resources
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 11 Sep 2002 10:51:23 +0200 (MET DST)
Date: Wed, 11 Sep 2002 10:51:23 +0200 (MET DST)
On Tue, 10 Sep 2002, Holger Rauch wrote:
> Now I'm sort of stuck since I'm aware I'm supposed to call curl_formfree()
> and curl_slist_free_all() to properly free the resources required for form
> handling, but I can't (because they are needed for curl_easy_perform()).
> Will calling curl_easy_cleanup() also take care of freeing resources needed
> for form handling?
No, curl_easy_cleanup() will not do that for you.
You will need to keep track of the data and clean it up yourself when you
*cleanup() the handle.
-- Daniel Stenberg -- curl related mails on curl related mailing lists please ------------------------------------------------------- In remembrance www.osdn.com/911/Received on 2002-09-11