[PATCH resend] ws2_32: Fix memory leak on error path in get_local_ips (cppcheck)