mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 17:49:10 -04:00
Merge branch 'bugfix/fix_double_free_coc_v5.2' into 'release/v5.2'
fix(nimble): Removed double free of packet (v5.2) See merge request espressif/esp-idf!29031
This commit is contained in:
commit
923546b103
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user