summaryrefslogtreecommitdiff
path: root/xs_curl.h
diff options
context:
space:
mode:
authordefault <nobody@localhost>2022-10-26 08:29:11 +0200
committerdefault <nobody@localhost>2022-10-26 08:29:11 +0200
commitacc2bb1549e57ac42c6bc1bcf86c6673e17e6419 (patch)
tree4bcea9be4b64c1b1065943f4e210abbe41452bbc /xs_curl.h
parent003da7fec75c2e1366eebc1c1b00792903a8c968 (diff)
Backport from xs.
Diffstat (limited to 'xs_curl.h')
-rw-r--r--xs_curl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/xs_curl.h b/xs_curl.h
index 5223a4e..e48bc56 100644
--- a/xs_curl.h
+++ b/xs_curl.h
@@ -152,6 +152,8 @@ d_char *xs_http_request(char *method, char *url, d_char *headers,
curl_easy_cleanup(curl);
+ curl_slist_free_all(list);
+
if (status != NULL)
*status = (int) lstatus;