summaryrefslogtreecommitdiff
path: root/libc/malloc_hooks/malloc_hooks.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2019-11-05 12:42:14 -0800
committerElliott Hughes <enh@google.com>2019-11-05 12:42:14 -0800
commit4aef93acff8932e9fc9a84bc1ccce8903806b193 (patch)
tree2650d2106682389f1b5df22a0b6d0f18f80a37e8 /libc/malloc_hooks/malloc_hooks.cpp
parent590bdbe6e938e1bc53b09674b7eedde440863f11 (diff)
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 Change-Id: I1bf137f7933201eb8024603bfd569ff7bbc7f9b7
Diffstat (limited to 'libc/malloc_hooks/malloc_hooks.cpp')
0 files changed, 0 insertions, 0 deletions