mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-09 10:40:04 +00:00
fix(nimble): Remove extra free to avoid double free
This commit is contained in:
@@ -226,7 +226,6 @@ ble_hs_hci_iso_tx_now(uint16_t conn_handle, const uint8_t *sdu, uint16_t sdu_len
|
||||
*/
|
||||
rc = ble_hci_trans_hs_iso_tx(frag, BLE_HCI_ISO_DATA_HDR_SZ + dlh_len + sdu_len, NULL);
|
||||
if (rc) {
|
||||
nimble_platform_mem_free(frag);
|
||||
return BLE_HS_ECONTROLLER;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user