mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
parent
222f214341
commit
5c25e0bdb0
@ -221,7 +221,7 @@ bool Heap::_unsynchronized_alloc(size_t size, void **out_addr)
|
||||
bool Heap::alloc(size_t size, void **out_addr)
|
||||
{
|
||||
if (size == 0)
|
||||
error("attempt to allocated zero-size block from heap");
|
||||
error("attempt to allocate zero-size block from heap");
|
||||
|
||||
/* serialize access of heap functions */
|
||||
Lock::Guard lock_guard(_lock);
|
||||
|
Loading…
x
Reference in New Issue
Block a user