commit | 981ba19b2733a11db36f30cc4bd4b559f2241d09 | [log] [tgz] |
---|---|---|
author | Peng Qi <peng.qi@mediatek.com> | Tue Aug 29 20:11:40 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Aug 29 20:11:40 2017 +0000 |
tree | f38780d73d359b951e0bde8649bc80220e3003b8 | |
parent | dbe51bced7d1770f95c7de54e24633e5a6bcd0d3 [diff] | |
parent | a9b81f3c4c606cde7fc761fa623f7aa6b83791b5 [diff] |
Bluetooth: AsyncFdWatcher: Fix FD leak am: 5c6da2669c am: a9b81f3c4c Change-Id: Iba08a60214a28faebaf623d421deb66a85ee5d1c
diff --git a/bluetooth/1.0/default/async_fd_watcher.cc b/bluetooth/1.0/default/async_fd_watcher.cc index bc0bc92..d8714f5 100644 --- a/bluetooth/1.0/default/async_fd_watcher.cc +++ b/bluetooth/1.0/default/async_fd_watcher.cc
@@ -105,6 +105,9 @@ timeout_cb_ = nullptr; } + close(notification_listen_fd_); + close(notification_write_fd_); + return 0; }