mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
Kernel: Add operator delete for KString
This doesn't change anything because our global operator delete also calls kfree() - however instead of relying on this implementation detail this makes this dependency more explicit.
This commit is contained in:
committed by
Linus Groh
parent
f0e9fd09b4
commit
596361791c
@@ -57,4 +57,9 @@ OwnPtr<KString> KString::try_clone() const
|
||||
return try_create(view());
|
||||
}
|
||||
|
||||
void KString::operator delete(void* string)
|
||||
{
|
||||
kfree(string);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user