mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 10:46:25 +00:00
os: packet_allocator needs size for free
Unlike the previous return value of `Genode::Packet_allocator::need_size_for_free()` indicated, it does need the size of the object it has to free to work properly.
This commit is contained in:
parent
84285881f3
commit
2f0fe562ec
@ -184,7 +184,7 @@ class Genode::Packet_allocator : public Genode::Range_allocator
|
||||
** Dummies **
|
||||
*************/
|
||||
|
||||
bool need_size_for_free() const override { return false; }
|
||||
bool need_size_for_free() const override { return true; }
|
||||
void free(void *) override { }
|
||||
size_t overhead(size_t) const override { return 0;}
|
||||
size_t avail() const override { return 0; }
|
||||
|
Loading…
Reference in New Issue
Block a user