|
|
cURL Mailing List Monthly Index Single Mail
curl-library Archives
Re: RE: [mem curl]
From: ื๓าใ <zuoy_at_neusoft.com>
Date: Sat, 07 Nov 2009 13:57:09 +0800
Hi:
Now i get some code written by someone else.
there are two sentences in the xcap client module:
curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, write_function);
curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, &buff);
throughout the function, i can not find some sentens to allocate memery for buff.
more strange, i find author call function to free buff.
So what my question is that do we need to allocate memery for buff by ouerselves or curl has allocate by itself?
Thanks
-------------------------------------------------------------------
These mail archives are generated by hypermail. |
Page updated November 16, 2009.
web site info