From 28728a93ef21fd9bac0d4ab7e71ffc565aa7c686 Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Thu, 28 Jan 2021 15:18:34 +0100 Subject: [PATCH] btstack_memory: fix memory tracking for malloc config --- src/btstack_memory.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/btstack_memory.c b/src/btstack_memory.c index 8665186d8..924ff3003 100644 --- a/src/btstack_memory.c +++ b/src/btstack_memory.c @@ -65,7 +65,6 @@ static btstack_memory_buffer_t * btstack_memory_malloc_buffers; static void btstack_memory_tracking_add(btstack_memory_buffer_t * buffer){ btstack_assert(buffer != NULL); - btstack_memory_malloc_buffers = buffer; buffer->prev = NULL; buffer->next = btstack_memory_malloc_buffers; btstack_memory_malloc_buffers = buffer;