This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git

commit fb3c31be66e792888aeab4395ad593e98416bf0f
Author: Ɓukasz Rymanowski <[email protected]>
AuthorDate: Tue Jun 9 18:59:51 2020 +0200

    nimble/l2cap: Add missing proc free in ecoc reconfig response
---
 nimble/host/src/ble_l2cap_sig.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nimble/host/src/ble_l2cap_sig.c b/nimble/host/src/ble_l2cap_sig.c
index a137afa..ad81c64 100644
--- a/nimble/host/src/ble_l2cap_sig.c
+++ b/nimble/host/src/ble_l2cap_sig.c
@@ -864,6 +864,7 @@ ble_l2cap_sig_credit_base_reconfig_rsp_rx(uint16_t 
conn_handle,
 
     rsp = (struct ble_l2cap_sig_credit_base_reconfig_rsp *)(*om)->om_data;
     ble_l2cap_sig_coc_reconfig_cb(proc, (rsp->result > 0) ? BLE_HS_EREJECT : 
0);
+    ble_l2cap_sig_proc_free(proc);
 
     return 0;
 }

Reply via email to