projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6883f0c
)
curl_free proto added
author
Daniel Stenberg
<daniel@haxx.se>
Wed, 25 Sep 2002 12:27:37 +0000
(12:27 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Wed, 25 Sep 2002 12:27:37 +0000
(12:27 +0000)
include/curl/curl.h
patch
|
blob
|
history
diff --git
a/include/curl/curl.h
b/include/curl/curl.h
index
65deb52
..
e8f5793
100644
(file)
--- 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 */