Hi,
I have nrf9160 dev board.
It seems to me that getaddrinfo() has memory leak. If socket is closed, and call getaddrinfo() to reopen, it returns -10 (memory) error.
David Zhou
Hi,
I have nrf9160 dev board.
It seems to me that getaddrinfo() has memory leak. If socket is closed, and call getaddrinfo() to reopen, it returns -10 (memory) error.
David Zhou
Are you including a call to freeaddrinfo() after your call to getaddrinfo()? It will consume memory on each call if you don't.
after freeaddrinfo() call. It ok, now.
Thank you!
after freeaddrinfo() call. It ok, now.
Thank you!