diff options
| author | 2022-10-26 08:29:11 +0200 | |
|---|---|---|
| committer | 2022-10-26 08:29:11 +0200 | |
| commit | acc2bb1549e57ac42c6bc1bcf86c6673e17e6419 (patch) | |
| tree | 4bcea9be4b64c1b1065943f4e210abbe41452bbc /xs_curl.h | |
| parent | Added a forgotten user_free() in html_post_handler(). (diff) | |
| download | snac2-acc2bb1549e57ac42c6bc1bcf86c6673e17e6419.tar.gz snac2-acc2bb1549e57ac42c6bc1bcf86c6673e17e6419.tar.xz snac2-acc2bb1549e57ac42c6bc1bcf86c6673e17e6419.zip | |
Backport from xs.
Diffstat (limited to 'xs_curl.h')
| -rw-r--r-- | xs_curl.h | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -152,6 +152,8 @@ d_char *xs_http_request(char *method, char *url, d_char *headers, | |||
| 152 | 152 | ||
| 153 | curl_easy_cleanup(curl); | 153 | curl_easy_cleanup(curl); |
| 154 | 154 | ||
| 155 | curl_slist_free_all(list); | ||
| 156 | |||
| 155 | if (status != NULL) | 157 | if (status != NULL) |
| 156 | *status = (int) lstatus; | 158 | *status = (int) lstatus; |
| 157 | 159 | ||