From e399502c7adc958ff20bd68242a5cf867c0dee5f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 25 Sep 2002 12:27:37 +0000 Subject: [PATCH] curl_free proto added --- include/curl/curl.h | 3 +++ 1 file changed, 3 insertions(+) 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 */