From ef38163b44c4084543c484ff03bba70cb7583c8c Mon Sep 17 00:00:00 2001 From: "isha.pardikar@espressif.com" Date: Mon, 19 Dec 2022 15:33:03 +0530 Subject: [PATCH] L2CAP COC example : Fixed freeing up of same memory address twice. --- examples/bluetooth/nimble/ble_l2cap_coc/coc_blecent/main/main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/bluetooth/nimble/ble_l2cap_coc/coc_blecent/main/main.c b/examples/bluetooth/nimble/ble_l2cap_coc/coc_blecent/main/main.c index 714ea28081..380aac13cb 100644 --- a/examples/bluetooth/nimble/ble_l2cap_coc/coc_blecent/main/main.c +++ b/examples/bluetooth/nimble/ble_l2cap_coc/coc_blecent/main/main.c @@ -59,7 +59,6 @@ blecent_l2cap_coc_send_data(struct ble_l2cap_chan *chan) } else { MODLOG_DFLT(INFO,"Data sending failed, rc = %d",rc); } - os_mbuf_free(sdu_rx_data); } /**