From a03cdd7e83fb4b698e2450e9e9db7e433dabe184 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 17 Nov 2000 14:21:07 +0000 Subject: [PATCH] curl_formfree() added --- include/curl/curl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/curl/curl.h b/include/curl/curl.h index f0a1701..d554b81 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -454,6 +454,9 @@ int curl_formparse(char *string, struct HttpPost **httppost, struct HttpPost **last_post); +/* cleanup a form: */ +void curl_formfree(struct HttpPost *form); + /* Unix and Win32 getenv function call, this returns a malloc()'ed string that MUST be free()ed after usage is complete. */ char *curl_getenv(char *variable); @@ -462,7 +465,7 @@ char *curl_getenv(char *variable); char *curl_version(void); /* This is the version number */ -#define LIBCURL_VERSION "7.4.2-pre2" +#define LIBCURL_VERSION "7.4.2" #define LIBCURL_VERSION_NUM 0x070402 /* linked-list structure for the CURLOPT_QUOTE option (and other) */ -- 2.7.4