fix(bt/bluedroid): Fixed HID memory leak

This commit is contained in:
liqigan
2025-11-13 17:44:14 +08:00
parent c51b5e955a
commit 38ea9357b8
9 changed files with 17 additions and 16 deletions
+1 -4
View File
@@ -241,8 +241,5 @@ void *osi_calloc_func(size_t size)
void osi_free_func(void *ptr)
{
#if HEAP_MEMORY_DEBUG
osi_mem_dbg_clean(ptr, __func__, __LINE__);
#endif
free(ptr);
osi_free(ptr);
}