Merge branch 'bugfix/fix_double_free_coc' into 'master'

fix(nimble): Removed double free of packet

See merge request espressif/esp-idf!29030
pull/13294/head
Jiang Jiang Jian 2024-02-21 20:37:03 +08:00
commit be2ccdcc50
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -72,8 +72,8 @@ blecent_l2cap_coc_send_data(struct ble_l2cap_chan *chan)
MODLOG_DFLT(INFO, "Data sent successfully");
} else {
MODLOG_DFLT(INFO, "Data sending failed, rc = %d", rc);
os_mbuf_free_chain(sdu_rx_data);
}
os_mbuf_free(sdu_rx_data);
}
/**