For LK_DEBUGLEVEL > 1 > alloc_struct_begin_size: 24 > free_heap_chunk_size: 24 size: max(alloc_struct_begin_size, free_heap_chunk_size) But when freeing the chunk, allocated size is expected to be greater than size of free_heap_chunk struct. It contradicts its own code. So add >= instead of > to maintain the integrity between allocation and freeing of memory chunk. Signed-off-by: vivek.j <vivek.j@samsung.com>