mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 09:20:43 +08:00
[NTOS:MM] Fix file object bad referencing
This commit is contained in:
@@ -3128,7 +3128,6 @@ MmCreateImageSection(PSECTION *SectionObject,
|
||||
InterlockedExchangePointer(&FileObject->SectionObjectPointer->ImageSectionObject, NULL);
|
||||
ExFreePoolWithTag(ImageSectionObject, TAG_MM_SECTION_SEGMENT);
|
||||
MmDereferenceSegment(DataSectionObject);
|
||||
ObDereferenceObject(FileObject);
|
||||
ObDereferenceObject(Section);
|
||||
return STATUS_ACCESS_DENIED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user