Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
minor update to getadrinfo
  • Loading branch information
iwahdan88 committed Nov 8, 2019
commit 45f0d8ea6167d72a9daec1df9baa3590ef9ce7b6
3 changes: 0 additions & 3 deletions esp32/mods/modusocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -718,9 +718,6 @@ STATIC mp_obj_t mod_usocket_getaddrinfo(mp_obj_t host_in, mp_obj_t port_in) {
{
nlr_raise(mp_obj_new_exception_msg(&mp_type_OSError, "no available NIC"));
}
//getaddrinfo() allocates memory, needs to be freed
freeaddrinfo(res);

}
STATIC MP_DEFINE_CONST_FUN_OBJ_2(mod_usocket_getaddrinfo_obj, mod_usocket_getaddrinfo);

Expand Down