mirror of
https://github.com/reactos/reactos.git
synced 2025-05-04 18:31:40 +00:00
[NTOS:MM] Fix file object bad referencing
This commit is contained in:
parent
2d3454a809
commit
d9f7459bb1
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue