diff options
| author | waynema <waynema@google.com> | 2019-03-08 16:58:06 +0800 |
|---|---|---|
| committer | waynema <waynema@google.com> | 2019-03-13 10:27:36 +0800 |
| commit | 1a1d8b6940743d4885201d21894fada443f59a37 (patch) | |
| tree | 899ce2fdd183a16e38fea77e5e1d7e588e9113ae /server/TetherController.cpp | |
| 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
Diffstat (limited to 'server/TetherController.cpp')
0 files changed, 0 insertions, 0 deletions
