socket: Close base socket for a TCP passive socket when closing parent
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Tue, 18 Aug 2015 13:58:23 +0000 (14:58 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Tue, 18 Aug 2015 13:58:23 +0000 (14:58 +0100)
commita2e25cf49b24c2012e8e9058ecc7e62f1e027cb3
tree9aadec98d43e2e9cda7dce1e082838514ea8bea0
parent6835e7b7f4a20078d508444659c636fc98e680fc
socket: Close base socket for a TCP passive socket when closing parent

Otherwise the base socket will leak. Spotted by Vadim Genkin.

https://phabricator.freedesktop.org/T125
socket/tcp-passive.c