mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 09:46:20 +00:00
acpi: avoid warning about dangling allocations
like Warning: XX dangling allocations at allocator destruction time Fixes #2330
This commit is contained in:
parent
137305d58a
commit
3b977d4cf3
@ -107,6 +107,10 @@ class Acpi::Memory
|
||||
_io_mem_list.remove(io_mem);
|
||||
destroy(_heap, io_mem);
|
||||
}
|
||||
|
||||
Genode::addr_t out_addr;
|
||||
while (_range.any_block_addr(&out_addr))
|
||||
_range.free((void *)out_addr);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user