mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 21:59:07 +00:00
Kernel: Use kfree_sized() in SlabAllocator
This commit is contained in:
parent
8f3b3af5ea
commit
83dd93ff13
Notes:
sideshowbarker
2024-07-17 22:10:16 +09:00
Author: https://github.com/awesomekling
Commit: 83dd93ff13
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue