mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-31 00:32:52 +00:00
btstack_memory: fix memory tracking for malloc config
This commit is contained in:
parent
2ad967e10c
commit
28728a93ef
@ -65,7 +65,6 @@ static btstack_memory_buffer_t * btstack_memory_malloc_buffers;
|
|||||||
|
|
||||||
static void btstack_memory_tracking_add(btstack_memory_buffer_t * buffer){
|
static void btstack_memory_tracking_add(btstack_memory_buffer_t * buffer){
|
||||||
btstack_assert(buffer != NULL);
|
btstack_assert(buffer != NULL);
|
||||||
btstack_memory_malloc_buffers = buffer;
|
|
||||||
buffer->prev = NULL;
|
buffer->prev = NULL;
|
||||||
buffer->next = btstack_memory_malloc_buffers;
|
buffer->next = btstack_memory_malloc_buffers;
|
||||||
btstack_memory_malloc_buffers = buffer;
|
btstack_memory_malloc_buffers = buffer;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user