1
0
default 4 жил өмнө
parent
commit
acc2bb1549
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      xs_curl.h

+ 2 - 0
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;