aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-09-25 12:26:07 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-09-25 12:26:07 +0000
commit6883f0c49fc0ad41a08d885990fe62fa6d66b40f (patch)
tree4fb2b34bfb747c3fccd8c7145b63199c5b54d0ce
parent3fc2c813cc59eb1e2752749772a5555e9f3c82bb (diff)
Walter J. Mack added curl_free
-rw-r--r--lib/escape.c5
-rw-r--r--lib/libcurl.def1
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/escape.c b/lib/escape.c
index bb8722e14..0ec7ae5c0 100644
--- a/lib/escape.c
+++ b/lib/escape.c
@@ -100,6 +100,11 @@ char *curl_unescape(const char *string, int length)
}
+void curl_free(void *p)
+{
+ free(p);
+}
+
/*
* local variables:
* eval: (load-file "../curl-mode.el")
diff --git a/lib/libcurl.def b/lib/libcurl.def
index 3ae13050d..139cd19b7 100644
--- a/lib/libcurl.def
+++ b/lib/libcurl.def
@@ -40,3 +40,4 @@ EXPORTS
curl_multi_perform @ 31;
curl_multi_cleanup @ 32;
curl_multi_info_read @ 33;
+ curl_free @ 34;