curl-library
Properly free()'ing memory after using CURLOPT_WRITEFUNCTION
From: Joel Apter <japter_at_ibxtech.com>
Date: Mon, 2 Jun 2003 12:13:56 -0400
Date: Mon, 2 Jun 2003 12:13:56 -0400
After looking at the example given in docs/examples/getinmemory.c in the curl directory, I was wondering what the proper syntax and usage of free() would be to release this memory efficiently after it has been used (free(chunk.memory); ?).
I am not very familiar with this type of memory handling in C. Thank you for your help.
-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
Received on 2003-06-02