diff options
author | Eric Faurot <eric@cvs.openbsd.org> | 2020-12-23 15:42:04 +0000 |
---|---|---|
committer | Eric Faurot <eric@cvs.openbsd.org> | 2020-12-23 15:42:04 +0000 |
commit | 4b2a73e464a8f6ec30a8a8db0514ee4520180f42 (patch) | |
tree | b26be7515edd8ae56127b58aa762ac23aaefb43a /Makefile.cross | |
parent | 95c81b3b3cd334385a3ce49cc75e8c8a7e06729c (diff) |
Fix a memory leak: use a single memory allocation for struct addrinfo and
the sockaddr it contains, as expected by freeaddrinfo().
Move the allocation to a helper function for clarity.
comments from martijn@ millert@
ok millert@
Diffstat (limited to 'Makefile.cross')
0 files changed, 0 insertions, 0 deletions