From 12cc5ca0e1f0e3016f74c20827ea006696dd5e7e Mon Sep 17 00:00:00 2001 From: antifallobst Date: Fri, 17 Feb 2023 12:45:12 +0100 Subject: [PATCH] fix (kernel): removed combine status logs from 'heap_memory_free' --- kernel/src/mm/heap.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel/src/mm/heap.c b/kernel/src/mm/heap.c index 331cef1..b603f33 100644 --- a/kernel/src/mm/heap.c +++ b/kernel/src/mm/heap.c @@ -196,10 +196,8 @@ void heap_memory_free(heap_T* heap, void* address) { segment->free = true; // try to combine in both directions, so we don't splitter the heap in a ton of small segments - // TODO: the following combination is not working yet - log(LOG_DEBUG, " CombinePrev[%?] CombineNext[%?]", - heap_segment_combine_prev(segment), - heap_segment_combine_next(segment)); + heap_segment_combine_prev(segment); + heap_segment_combine_next(segment); }