Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08565ab3 authored by Chris Manton's avatar Chris Manton
Browse files

Add stack/btm/btm_inq::btm_inq_db_free

Towards life cycle aware code

Bug: 174401900
Tag: #refactor
Test: gd/cert/run --host

Change-Id: I019a40e863dd2b191ba37e3ab19f932fb74016a8
parent 0a7dde4f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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