mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:47:34 +00:00
AK: Remove kfree
definition
This commit is contained in:
parent
9039f8fb0f
commit
cb3cc6ec27
2 changed files with 2 additions and 3 deletions
|
@ -20,7 +20,7 @@ inline String demangle(StringView name)
|
|||
auto* demangled_name = abi::__cxa_demangle(name.to_string().characters(), nullptr, nullptr, &status);
|
||||
auto string = String(status == 0 ? demangled_name : name);
|
||||
if (status == 0)
|
||||
kfree(demangled_name);
|
||||
free(demangled_name);
|
||||
return string;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue