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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux