commit | 096308714b5211337d8f76f148372314c8feaf8b | [log] [tgz] |
---|---|---|
author | Peng Qi <peng.qi@mediatek.com> | Tue Aug 29 20:17:40 2017 +0000 |
committer | android-build-merger <android-build-merger@google.com> | Tue Aug 29 20:17:40 2017 +0000 |
tree | d09dedfef8d94047cbe53dbd4ebd5507f34e6290 | |
parent | 84289d2c40ba704cd6fdcf3c745884c8534f4504 [diff] | |
parent | 981ba19b2733a11db36f30cc4bd4b559f2241d09 [diff] |
Bluetooth: AsyncFdWatcher: Fix FD leak am: 5c6da2669c am: a9b81f3c4c am: 981ba19b27 Change-Id: Ibb9a79d515d6f500cbdc95b57f43cd05128772d8
diff --git a/bluetooth/1.0/default/async_fd_watcher.cc b/bluetooth/1.0/default/async_fd_watcher.cc index 78676b2..7c74643 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; }