Static code scan issues seen in File: /tests/net/socket/getaddrinfo/src/main.c
Category: Resource leaks
Function: test_getaddrinfo_ok
Component: Tests
CID: 185273
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996