CVSROOT: /cvs Module name: src Changes by: [email protected] 2020/12/23 08:42:03
Modified files:
usr.sbin/smtpd : resolver.c
Log message:
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@
