diff --git a/include/curl/curl.h b/include/curl/curl.h index 65deb5247..e8f5793c4 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -778,6 +778,9 @@ char *curl_version(void); * allocated string or NULL if an error occurred. */ char *curl_escape(const char *string, int length); char *curl_unescape(const char *string, int length); +/* 20020912 WJM. Provide for a de-allocation in the same translation unit + that did the allocation. Added in libcurl 7.10 */ +void curl_free(void *p); /* curl_global_init() should be invoked exactly once for each application that uses libcurl */