summaryrefslogtreecommitdiff
path: root/Kernel/Tasks
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-06-09 00:52:56 -0700
committerAndreas Kling <kling@serenityos.org>2021-06-09 10:57:51 +0200
commit9e6f0fd9250e91144139c1318db3b3c5f2c3a4cf (patch)
tree33786c6f9a582a08110645f40240c8e2348d0441 /Kernel/Tasks
parent83841e47e5416df2d64df9506908b286a4413115 (diff)
downloadserenity-9e6f0fd9250e91144139c1318db3b3c5f2c3a4cf.zip
Kernel: Mark SyncTask::spawn() as UNMAP_AFTER_INIT
Diffstat (limited to 'Kernel/Tasks')
-rw-r--r--Kernel/Tasks/SyncTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Tasks/SyncTask.cpp b/Kernel/Tasks/SyncTask.cpp
index b37ec2715c..313cfb1528 100644
--- a/Kernel/Tasks/SyncTask.cpp
+++ b/Kernel/Tasks/SyncTask.cpp
@@ -11,7 +11,7 @@
namespace Kernel {
-void SyncTask::spawn()
+UNMAP_AFTER_INIT void SyncTask::spawn()
{
RefPtr<Thread> syncd_thread;
Process::create_kernel_process(syncd_thread, "SyncTask", [] {