CVSROOT:        /cvs
Module name:    src
Changes by:     mes...@cvs.openbsd.org  2016/12/14 01:22:39

Modified files:
        usr.sbin/unbound/services: listen_dnsport.c 

Log message:
Remove a resource leak by closing the socket in all error cases.
The patch was already committed upstream.

OK tb@ and sthen@. jca@ has a valid point that the error would be fatal and
most likely the socket would not leak, nevertheless create_tcp_accept_sock()
close the socket everytime so for clarity apply the same principal here in
create_local_accept_sock()

Reply via email to