mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 22:23:16 +00:00
parent
0f54ad8e26
commit
789ae1ea8d
@ -144,9 +144,8 @@ void Cap_space::upgrade_slab(Allocator &alloc)
|
|||||||
[&] (void *ptr) {
|
[&] (void *ptr) {
|
||||||
_slab.insert_sb(ptr); },
|
_slab.insert_sb(ptr); },
|
||||||
|
|
||||||
[&] (Allocator::Alloc_error) {
|
[&] (Allocator::Alloc_error error) {
|
||||||
/* XXX distinguish error conditions */
|
Allocator::throw_alloc_error(error);
|
||||||
throw Out_of_ram();
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user