curl-library
curl_formfree()
From: <richardcavell_at_mail.com>
Date: Sun, 17 Apr 2011 03:43:18 -0400
Date: Sun, 17 Apr 2011 03:43:18 -0400
Hi everyone. I have a policy that whenever a pointer's object is
destroyed the pointer is set to NULL.
struct curl_httppost* first=NULL;
struct curl_httppost* last=NULL;
lots of curl_formadd()s;
curl_formfree(first);
first=NULL;
Now, am I right in thinking that first is invalid after the
curl_formfree()? Is last still valid for anything or should I reset it
to NULL after the curl_formfree() ?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2011-04-17