summaryrefslogtreecommitdiff
path: root/AK/Demangle.h
diff options
context:
space:
mode:
authorMichel Hermier <michel.hermier@gmail.com>2022-01-12 04:27:21 +0100
committerAndreas Kling <kling@serenityos.org>2022-01-16 11:18:04 +0100
commitcb3cc6ec27a76367bc90ad327dfb544fa1e618bd (patch)
treeea18fdd9aebe8ba770be059aba6871dd0157239d /AK/Demangle.h
parent9039f8fb0f679cfde66b4638fe31a28e3a2c0f99 (diff)
downloadserenity-cb3cc6ec27a76367bc90ad327dfb544fa1e618bd.zip
AK: Remove `kfree` definition
Diffstat (limited to 'AK/Demangle.h')
-rw-r--r--AK/Demangle.h2
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;
}