diff options
| author | waynema <waynema@google.com> | 2019-03-08 19:13:41 +0800 |
|---|---|---|
| committer | waynema <waynema@google.com> | 2019-03-13 10:27:36 +0800 |
| commit | 4c6fd928918f760f4c491e7c5b47819bb1ad96b6 (patch) | |
| tree | 97d7867306e0127dc023b837007c5b66491dadf1 /server/NetworkController.cpp | |
| parent | 1a1d8b6940743d4885201d21894fada443f59a37 (diff) | |
Use unique_ptr in dns_gethtbyaddr()
Use make_unique instead of malloc so we don't check for memory
allocation failures.
Test: atest resolv_integration_test
Change-Id: I43243b82b4998ba3674750417cd6b3c82083c8f9
Diffstat (limited to 'server/NetworkController.cpp')
0 files changed, 0 insertions, 0 deletions
