curl_free

Syntax

#include <curl/curl.h>

void curl_free( char * ptr );

Parameters

ptr Pointer to the memory to be reclaimed.

Return Values

None.

Description

curl_free reclaims memory that has been obtained through a libcurl call. Use curl_free instead of free to avoid anomalies that can result from differences in memory management between an application and libcurl.

Do Not Call From

None.

See Also

HTTP Client Library (libcurl)
libcurl API Functions
libcurl Error Codes
curl_unescape

Revision History

2013/09/18 Conversion
2013/05/08 Automated cleanup pass.
2012/05/04 Initial version.


CONFIDENTIAL