From: Daniel Stenberg Date: Wed, 25 Sep 2002 12:27:37 +0000 (+0000) Subject: curl_free proto added X-Git-Tag: curl-7_10~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e399502c7adc958ff20bd68242a5cf867c0dee5f;p=curl curl_free proto added --- 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 */