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

Commit c50c43d1 authored by Bernie Innocenti's avatar Bernie Innocenti
Browse files

Use unique_ptr in dns_getaddrinfo()

This simplifies memory management a bit. In fact, we don't even bother
checking for memory allocation failures because 'new' aborts instead of
returning null to the caller.

Test: atest resolv_integration_test
Change-Id: I6456922f4ca6d04d67fedc8873b0c32becf1d3dc
parent 3952ccca
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