diff --git a/Kernel/Memory/AnonymousVMObject.cpp b/Kernel/Memory/AnonymousVMObject.cpp index a8aa1d0912..7070d8ccaf 100644 --- a/Kernel/Memory/AnonymousVMObject.cpp +++ b/Kernel/Memory/AnonymousVMObject.cpp @@ -24,6 +24,7 @@ ErrorOr> AnonymousVMObject::try_clone() // object, effectively "pre-purging" it in the child process. auto clone = TRY(try_create_purgeable_with_size(size(), AllocationStrategy::None)); clone->m_volatile = true; + clone->m_was_purged = true; return clone; }