]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_easy_escape.3: call curl_easy_cleanup in example
authorJun Tseng <junzeng@opencpu.com>
Mon, 6 Dec 2021 04:39:03 +0000 (12:39 +0800)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 6 Dec 2021 06:50:29 +0000 (07:50 +0100)
Closes #8097

docs/libcurl/curl_easy_escape.3

index 12ee0b8738c0d9337d52acdc78fd757e06e89052..3b12dab423478dffcb4844a45a9503f5d67e7669 100644 (file)
@@ -58,6 +58,7 @@ if(curl) {
     printf("Encoded: %s\\n", output);
     curl_free(output);
   }
+  curl_easy_cleanup(curl);
 }
 .fi
 .SH AVAILABILITY