mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 00:25:12 +00:00
Kernel: Use kfree_sized() in SlabAllocator
This commit is contained in:
@@ -68,7 +68,7 @@ public:
|
||||
{
|
||||
VERIFY(ptr);
|
||||
if (ptr < m_base || ptr >= m_end) {
|
||||
kfree(ptr);
|
||||
kfree_sized(ptr, slab_size());
|
||||
return;
|
||||
}
|
||||
FreeSlab* free_slab = (FreeSlab*)ptr;
|
||||
|
||||
Reference in New Issue
Block a user