From 8a69cf5dfea6167bfd1e4f7700b02d60e1cbc94c Mon Sep 17 00:00:00 2001 From: Zhao Wei Liang Date: Thu, 16 Oct 2025 10:11:01 +0800 Subject: [PATCH] feat(ble): change free api on ESP32-C5 (cherry picked from commit e87ace3a33a42034ebba6f0dd51ea508361b8fb6) Co-authored-by: zwl --- components/bt/controller/esp32c5/bt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/bt/controller/esp32c5/bt.c b/components/bt/controller/esp32c5/bt.c index 90d2db2ec04..6ac6c2a0561 100644 --- a/components/bt/controller/esp32c5/bt.c +++ b/components/bt/controller/esp32c5/bt.c @@ -467,7 +467,7 @@ struct ext_funcs_t ext_funcs_ro = { ._esp_intr_alloc = esp_intr_alloc_wrapper, ._esp_intr_free = esp_intr_free_wrapper, ._malloc = bt_osi_mem_malloc_internal, - ._free = bt_osi_mem_free, + ._free = bt_osi_mem_free_internal, ._task_create = task_create_wrapper, ._task_delete = task_delete_wrapper, ._osi_assert = osi_assert_wrapper,