mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-19 13:47:56 +00:00
parent
955afd8837
commit
f4ac642f64
@ -54,12 +54,14 @@ void Driver::Device::release(Session_component & sc)
|
||||
_io_mem_list.for_each([&] (Io_mem & io_mem) {
|
||||
if (io_mem.io_mem) {
|
||||
destroy(sc.heap(), io_mem.io_mem);
|
||||
io_mem.io_mem = nullptr;
|
||||
}
|
||||
});
|
||||
|
||||
_irq_list.for_each([&] (Irq & irq) {
|
||||
if (irq.irq) {
|
||||
destroy(sc.heap(), irq.irq);
|
||||
irq.irq = nullptr;
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user