From acc2bb1549e57ac42c6bc1bcf86c6673e17e6419 Mon Sep 17 00:00:00 2001 From: default Date: Wed, 26 Oct 2022 08:29:11 +0200 Subject: Backport from xs. --- xs_curl.h | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3