Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions zephyr/lib/regions_mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,10 @@ int vmh_free(struct vmh_heap *heap, void *ptr)
for (mem_block_iter = 0, ptr_range_found = false;
mem_block_iter < MAX_MEMORY_ALLOCATORS_COUNT;
mem_block_iter++) {
/* continiue so we do not check mem blocks that do not exist */
if (!heap->physical_blocks_allocators[mem_block_iter])
continue;

block_size =
1 << heap->physical_blocks_allocators[mem_block_iter]->info.blk_sz_shift;

Expand Down
Loading