Bugfix: ignored error return in slab allocator

This commit is contained in:
Sparchatus 2022-04-13 12:38:12 +00:00
parent b7bf1fb1a0
commit 1b37ebbb13

View File

@ -190,6 +190,7 @@ errval_t slab_refill_pages(struct slab_allocator *slabs, size_t bytes)
err = slab_refill_no_pagefault(slabs, cap, bytes);
if (err_is_fail(err)) {
slot_free(cap);
return err;
}
return err;