OSDN Git Service
(root)
/
android-x86
/
system-bt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c7b570
)
Add stack/btm/btm_inq::btm_inq_db_free
author
Chris Manton
<cmanton@google.com>
Fri, 27 Nov 2020 07:12:18 +0000
(23:12 -0800)
committer
Chris Manton
<cmanton@google.com>
Tue, 1 Dec 2020 18:43:48 +0000
(18:43 +0000)
Towards life cycle aware code
Bug:
174401900
Tag: #refactor
Test: gd/cert/run --host
Change-Id: I019a40e863dd2b191ba37e3ab19f932fb74016a8
stack/btm/btm_inq.cc
patch
|
blob
|
history
diff --git
a/stack/btm/btm_inq.cc
b/stack/btm/btm_inq.cc
index
d1adb36
..
017f5b0
100644
(file)
--- a/
stack/btm/btm_inq.cc
+++ b/
stack/btm/btm_inq.cc
@@
-809,6
+809,10
@@
void btm_inq_db_init(void) {
btm_cb.btm_inq_vars.no_inc_ssp = BTM_NO_SSP_ON_INQUIRY;
}
+void btm_inq_db_free(void) {
+ alarm_free(btm_cb.btm_inq_vars.remote_name_timer);
+}
+
/*******************************************************************************
*
* Function btm_inq_stop_on_ssp