Fix agent leak in case component socket is reset remotely
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Sat, 29 Aug 2015 19:04:03 +0000 (20:04 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Sat, 29 Aug 2015 19:04:03 +0000 (20:04 +0100)
commit1c34734cd105c6cca0ec8bbb908002c4bfb007b3
tree5f75647da3b5f45ed99873a23b18ea330ed2b77c
parentdddca10ceff20e3578fc901b9919c3d20f87b7b6
Fix agent leak in case component socket is reset remotely

Summary: The patch fixes the issue where agent reference count is not properly decremented causing instance leak in cases where component's socket is reset remotely.

Reviewers: #libnice, pwithnall

Projects: #libnice

Reviewed By: #libnice, pwithnall

Subscribers: pwithnall, maximgolunov

Differential Revision: https://phabricator.freedesktop.org/D236
agent/agent.c