mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-25 17:15:44 +00:00
Kernel: Rename VMObject::clone() => try_clone()
And fix an unsafe dereference in SharedInodeVMObject::try_clone() to make it OOM-safe.
This commit is contained in:
@@ -36,7 +36,7 @@ ContiguousVMObject::~ContiguousVMObject()
|
||||
{
|
||||
}
|
||||
|
||||
RefPtr<VMObject> ContiguousVMObject::clone()
|
||||
RefPtr<VMObject> ContiguousVMObject::try_clone()
|
||||
{
|
||||
VERIFY_NOT_REACHED();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user