acpi: avoid warning about dangling allocations

like

Warning: XX dangling allocations at allocator destruction time

Fixes #2330
This commit is contained in:
Alexander Boettcher 2017-02-25 19:38:36 +01:00 committed by Christian Helmuth
parent 137305d58a
commit 3b977d4cf3

View File

@ -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);
}
};