OSDN Git Service

Fix double close in btif.cc's dump.
authorJosh Gao <jmgao@google.com>
Tue, 26 Jun 2018 21:01:06 +0000 (14:01 -0700)
committerJosh Gao <jmgao@google.com>
Tue, 26 Jun 2018 21:07:50 +0000 (14:07 -0700)
commite8ab460e355de401e2ba3edb1c706782267da5d8
tree791ccc746c9ed367f058aa86c5fe3c2709f32827
parent55faa9e9622b3eef6016cc798726155875e12b95
Fix double close in btif.cc's dump.

dump closes a file descriptor that is still owned by a
ParcelFileDescriptor which leads eventually to a double close.

Test: treehugger
Change-Id: Id351b5429cb17b48e37313850a363d739d78c4a1
btif/src/bluetooth.cc