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