aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;