From c45a7d924b10d9cc69a48896f7a6c99ecbf56493 Mon Sep 17 00:00:00 2001 From: Aleksa Vučković Date: Mon, 30 May 2022 00:10:05 +0200 Subject: \small u \smallsize --- include/08.heap/heap.c | 1 + 1 file changed, 1 insertion(+) (limited to 'include/08.heap/heap.c') diff --git a/include/08.heap/heap.c b/include/08.heap/heap.c index 3120ed8..954a220 100644 --- a/include/08.heap/heap.c +++ b/include/08.heap/heap.c @@ -129,6 +129,7 @@ void k_heapBMFree(KHEAPBM *heap, void *ptr) bi = ptroff / b->bsize; /* .. */ bm = (uint8_t*)&b[1]; + /* clear allocation */ id = bm[bi]; /* oddly.. GCC did not optimize this */ -- cgit v1.2.3