]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
free cookiejar string
authorDaniel Stenberg <daniel@haxx.se>
Wed, 26 Sep 2001 07:12:07 +0000 (07:12 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 26 Sep 2001 07:12:07 +0000 (07:12 +0000)
src/main.c

index b77497b5fabcf354866e11ed606f20636475406d..81279aaf50d0a075b64214cfaf16e8fcca20bc4a 100644 (file)
@@ -1532,6 +1532,8 @@ void free_config_fields(struct Configurable *config)
     curl_formfree(config->httppost);
   if(config->cacert)
     free(config->cacert);
+  if(config->cookiejar)
+    free(config->cookiejar);
 
   curl_slist_free_all(config->quote); /* checks for config->quote == NULL */
   curl_slist_free_all(config->postquote); /*  */