tag | 99663d01d8e089843ee087a6153a1b12415c3a28 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Wed Mar 13 16:44:20 2019 -0700 |
object | 1a1d8b6940743d4885201d21894fada443f59a37 |
Android O MR1 IOT Release 1.0.10 (5360514)
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