diff options
author | Michel Hermier <michel.hermier@gmail.com> | 2022-01-12 04:27:21 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-01-16 11:18:04 +0100 |
commit | cb3cc6ec27a76367bc90ad327dfb544fa1e618bd (patch) | |
tree | ea18fdd9aebe8ba770be059aba6871dd0157239d /AK/Demangle.h | |
parent | 9039f8fb0f679cfde66b4638fe31a28e3a2c0f99 (diff) | |
download | serenity-cb3cc6ec27a76367bc90ad327dfb544fa1e618bd.zip |
AK: Remove `kfree` definition
Diffstat (limited to 'AK/Demangle.h')
-rw-r--r-- | AK/Demangle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/Demangle.h b/AK/Demangle.h index a1a8521a8f..f3b7746af6 100644 --- a/AK/Demangle.h +++ b/AK/Demangle.h @@ -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; } |