socket: Close base socket for a TCP passive socket when closing parent
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 19 Aug 2015 08:16:53 +0000 (09:16 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Wed, 19 Aug 2015 08:16:53 +0000 (09:16 +0100)
commite5e77b67fb6152dd9fb0af3d7410a428299504d3
tree9aadec98d43e2e9cda7dce1e082838514ea8bea0
parent6835e7b7f4a20078d508444659c636fc98e680fc
parenta2e25cf49b24c2012e8e9058ecc7e62f1e027cb3
socket: Close base socket for a TCP passive socket when closing parent

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

https://phabricator.freedesktop.org/T125

Maniphest Tasks: T125

Reviewers: ocrete

Projects: #libnice

Reviewed By: ocrete

Subscribers: vadimgenkin

Differential Revision: https://phabricator.freedesktop.org/D228