diff options
Diffstat (limited to 'src/c/heap.c')
| -rw-r--r-- | src/c/heap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/c/heap.c b/src/c/heap.c index 3120ed8..954a220 100644 --- a/src/c/heap.c +++ b/src/c/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 */ |
