[PATCH v4 1/4] hostapd: afcd: add AFC daemon support

Jesús Fernández Manzano jesus.manzano at galgus.ai
Sun Apr 14 06:19:25 PDT 2024


Hi all,

El 10/4/24 a las 15:32, Lorenzo Bianconi escribió:
> +	headers  = curl_slist_append(headers, "charset: utf-8");

After building the headers with curl_slist_append() and sending the 
message with curl_easy_perform(), you must free them with 
curl_slist_free_all() or the memory will be leaked. See:

- https://curl.se/libcurl/c/curl_slist_append.html
- https://curl.se/libcurl/c/curl_slist_free_all.html

Regards,
Jesús



More information about the Hostap mailing list