OSDN Git Service

AVCTP: Fix not destroying browsing channel if disconnected
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Sun, 27 Jan 2013 23:52:15 +0000 (17:52 -0600)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 28 Jan 2013 00:00:02 +0000 (18:00 -0600)
commit53d3fc3fad5152167458625ad2acf19070cdf26a
tree6535d7ad5c63d6e9dc98e8ab910dc3b065debd3f
parent958a00e73ce3da75073c606b420abae1fbb32d40
AVCTP: Fix not destroying browsing channel if disconnected

If the browsing channel is disconnected it should be destroyed
immediatelly and set to NULL otherwise it will point to invalid channel.
profiles/audio/avctp.c