curl_free proto added
authorDaniel Stenberg <daniel@haxx.se>
Wed, 25 Sep 2002 12:27:37 +0000 (12:27 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 25 Sep 2002 12:27:37 +0000 (12:27 +0000)
include/curl/curl.h

index 65deb52..e8f5793 100644 (file)
@@ -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 */