bluez: AVDTP: Fix closing invalid FD on error
authorAnderson Lizardo <anderson.lizardo@openbossa.org>
Thu, 17 Nov 2011 17:29:06 +0000 (13:29 -0400)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 9 Jan 2013 14:30:13 +0000 (14:30 +0000)
commit53031e0a9ee005313c5244485365191714afcaba
tree2cab5e5cb613d130edb5c60207207e35be8d1a97
parent83b0583a7a1c143e1511703fbb62893764814a97
bluez: AVDTP: Fix closing invalid FD on error

In gst_avdtp_sink_start(), if bt_audio_service_open() failed, there was
an attempt to close an invalid file descriptor (through
bt_audio_service_close()).
sys/bluez/gstavdtpsink.c