diff options
| author | Elliott Hughes <enh@google.com> | 2019-11-05 12:42:14 -0800 |
|---|---|---|
| committer | doc HD <doc.divxm@gmail.com> | 2020-04-23 14:54:03 +0300 |
| commit | 33249192591fb6dbe0bd301b44f09ac4de236713 (patch) | |
| tree | f1400fbc5b187fb17524b75168e68e130f765cfc /libc/stdlib | |
| parent | 7789e527153b9bf25ff3ad8ddd47fdb7632b1ed4 (diff) | |
android_getaddrinfo_proxy: fix memory leak on failure.q10.0
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
Change-Id: I1bf137f7933201eb8024603bfd569ff7bbc7f9b7
Diffstat (limited to 'libc/stdlib')
0 files changed, 0 insertions, 0 deletions
