mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(nimble): Removed double free of packet
This commit is contained in:
parent
7380f96017
commit
0b0648eddb
@ -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…
Reference in New Issue
Block a user