summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,
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