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

Commit 067e9847 authored by waynema's avatar waynema
Browse files

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
parent 0cac8c6d
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