android_getaddrinfo_proxy: fix memory leak on failure.
The shadowing of `ai` meant that the freeaddrinfo() call outside the loop would never see anything but NULL. Bug: https://issuetracker.google.com/143928781 Test: treehugger CRs-Fixed: 2552409 Change-Id: Ia697fb9a62a581ac21101ff95c9c5ea5574b312d (cherry picked from commit 4aef93acff8932e9fc9a84bc1ccce8903806b193)
Loading