summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEric Faurot <eric@cvs.openbsd.org>2020-12-23 15:42:04 +0000
committerEric Faurot <eric@cvs.openbsd.org>2020-12-23 15:42:04 +0000
commit4b2a73e464a8f6ec30a8a8db0514ee4520180f42 (patch)
treeb26be7515edd8ae56127b58aa762ac23aaefb43a /bin
parent95c81b3b3cd334385a3ce49cc75e8c8a7e06729c (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 'bin')
0 files changed, 0 insertions, 0 deletions