diff options
author | Daniel Stenberg <daniel@haxx.se> | 2002-09-25 12:27:37 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2002-09-25 12:27:37 +0000 |
commit | e399502c7adc958ff20bd68242a5cf867c0dee5f (patch) | |
tree | 74b2e6935625c5fee5e3b5e9c28f9cf4c437d968 | |
parent | 6883f0c49fc0ad41a08d885990fe62fa6d66b40f (diff) |
curl_free proto added
-rw-r--r-- | include/curl/curl.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ |