nuttx/libs/libc/netdb
Petro Karashchenko 1b0baa8337 nuttx: use lib_free for memory de-allocation after strdup or asprintf
The memory allocated with strdup and asprintf is done via lib_malloc
so we need to use lib_free to deallocate memory otherwise the assertion
"Free memory from the wrong heap" is hit with flat mode and user separated
heap enabled mode.

Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
2023-08-08 11:58:29 -03:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig libc: Print error code for unknown errors in strerror/gai_strerror 2023-04-22 01:46:39 +08:00
lib_dn.c net/semantic/parser: fix compile warning found by sparse 2023-05-30 23:00:00 +08:00
lib_dns.h
lib_dnsaddserver.c
lib_dnsbind.c
lib_dnscache.c
lib_dnsdefaultserver.c
lib_dnsforeach.c
lib_dnsinit.c
lib_dnsnotify.c
lib_dnsquery.c libc/netdb: Move dns query info and buffer out of the stack 2023-07-25 06:17:48 -07:00
lib_freeaddrinfo.c
lib_gaistrerror.c libc: Print error code for unknown errors in strerror/gai_strerror 2023-04-22 01:46:39 +08:00
lib_getaddrinfo.c
lib_gethostbyaddr.c
lib_gethostbyaddrr.c
lib_gethostbyname2.c
lib_gethostbyname2r.c
lib_gethostbyname.c
lib_gethostbynamer.c
lib_gethostentbynamer.c netdb: Regard hosts file prior to DNS when resolving 2023-05-18 14:50:08 -03:00
lib_getnameinfo.c
lib_getservbyname.c
lib_getservbynamer.c
lib_getservbyport.c
lib_getservbyportr.c
lib_netdb.c
lib_netdb.h
lib_parsehostfile.c
lib_proto.c
lib_protor.c
lib_rexec.c nuttx: use lib_free for memory de-allocation after strdup or asprintf 2023-08-08 11:58:29 -03:00
Make.defs