Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0cac8c6d authored by waynema's avatar waynema
Browse files

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
parent a74195e7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment