Fix the high-impact issues from the code analysis report from customer.
For the CID10564,10384,10280,10098,10038,The memory was released in other place. For the CID10365,it release the memory in the function when sent successfully. For the CID10268,10011, we need not change the code.
This commit is contained in:
@@ -940,7 +940,7 @@ tBTM_STATUS BTM_EnableTestMode(void)
|
||||
*******************************************************************************/
|
||||
tBTM_STATUS BTM_DeleteStoredLinkKey(BD_ADDR bd_addr, tBTM_CMPL_CB *p_cb)
|
||||
{
|
||||
BD_ADDR local_bd_addr;
|
||||
BD_ADDR local_bd_addr = {0};
|
||||
BOOLEAN delete_all_flag = FALSE;
|
||||
|
||||
/* Check if the previous command is completed */
|
||||
|
||||
Reference in New Issue
Block a user