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

Lorenzo Bianconi lorenzo at kernel.org
Tue Apr 16 08:23:08 PDT 2024


On Apr 14, Jesús Fernández Manzano wrote:
> 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

ack, thx. I will fix it.

Regartds,
Lorenzo

> 
> Regards,
> Jesús
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/hostap/attachments/20240416/3ac58424/attachment.sig>


More information about the Hostap mailing list