fix vendor hci memory leak

This commit is contained in:
zwj
2020-09-17 14:32:27 +08:00
parent 7c1c669799
commit 796a959fa5
2 changed files with 9 additions and 7 deletions
@@ -2676,9 +2676,7 @@ void BTA_VendorCleanup (void)
}
#endif
if (cmn_ble_vsc_cb.adv_inst_max > 0) {
btm_ble_multi_adv_cleanup();
}
btm_ble_multi_adv_cleanup();
}
#if (BLE_50_FEATURE_SUPPORT == TRUE)
void BTA_DmBleGapReadPHY(BD_ADDR addr)