commit | 1a1d8b6940743d4885201d21894fada443f59a37 | [log] [tgz] |
---|---|---|
author | waynema <waynema@google.com> | Fri Mar 08 16:58:06 2019 +0800 |
committer | waynema <waynema@google.com> | Wed Mar 13 10:27:36 2019 +0800 |
tree | 899ce2fdd183a16e38fea77e5e1d7e588e9113ae | |
parent | 2371eab0ea4bb6a1811af92d1d2de70c8f55b14e [diff] |
Use unique_ptr in dns_gethtbyname() Use make_unique instead of malloc so we don't check for memory allocation failures. Test: atest resolv_integration_test Change-Id: I9cb95b735db846e1ee57d16501a70bb18815a084