commit | 4c6fd928918f760f4c491e7c5b47819bb1ad96b6 | [log] [tgz] |
---|---|---|
author | waynema <waynema@google.com> | Fri Mar 08 19:13:41 2019 +0800 |
committer | waynema <waynema@google.com> | Wed Mar 13 10:27:36 2019 +0800 |
tree | 97d7867306e0127dc023b837007c5b66491dadf1 | |
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