mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[NTOS:MM]
- Avoid a file object reference leak in MmCreateSection. CORE-6931 svn path=/trunk/; revision=74449
This commit is contained in:
@@ -5161,6 +5161,8 @@ MmCreateSection (OUT PVOID * Section,
|
||||
MaximumSize,
|
||||
SectionPageProtection,
|
||||
AllocationAttributes);
|
||||
if (FileObject)
|
||||
ObDereferenceObject(FileObject);
|
||||
}
|
||||
|
||||
return Status;
|
||||
|
||||
Reference in New Issue
Block a user