[NTOS:MM]

- Avoid a file object reference leak in MmCreateSection.
CORE-6931

svn path=/trunk/; revision=74449
This commit is contained in:
Thomas Faber 2017-05-02 17:18:37 +00:00
parent 4c8ca6f0a4
commit 1d1755e8f5

View file

@ -5161,6 +5161,8 @@ MmCreateSection (OUT PVOID * Section,
MaximumSize,
SectionPageProtection,
AllocationAttributes);
if (FileObject)
ObDereferenceObject(FileObject);
}
return Status;