From 6883f0c49fc0ad41a08d885990fe62fa6d66b40f Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 25 Sep 2002 12:26:07 +0000 Subject: [PATCH] Walter J. Mack added curl_free --- lib/escape.c | 5 +++++ lib/libcurl.def | 1 + 2 files changed, 6 insertions(+) diff --git a/lib/escape.c b/lib/escape.c index bb8722e144..0ec7ae5c0e 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 3ae13050d9..139cd19b79 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;