summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJun Tseng <junzeng@opencpu.com>2021-12-06 12:39:03 +0800
committerDaniel Stenberg <daniel@haxx.se>2021-12-06 07:50:29 +0100
commita42f60d94ffbfa97898dec4666d9d323656201c9 (patch)
tree0a105d71ff279cdc1c4f4ac7093804b7bd92631a
parenta82fe5d2d06fed20873ecdc2b9eaff85b8a917c6 (diff)
downloadcurl-a42f60d94ffbfa97898dec4666d9d323656201c9.tar.gz
curl_easy_escape.3: call curl_easy_cleanup in example
Closes #8097
-rw-r--r--docs/libcurl/curl_easy_escape.31
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_escape.3 b/docs/libcurl/curl_easy_escape.3
index 12ee0b873..3b12dab42 100644
--- a/docs/libcurl/curl_easy_escape.3
+++ b/docs/libcurl/curl_easy_escape.3
@@ -58,6 +58,7 @@ if(curl) {
printf("Encoded: %s\\n", output);
curl_free(output);
}
+ curl_easy_cleanup(curl);
}
.fi
.SH AVAILABILITY