mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[NTOS:MM]
- Avoid a file object reference leak in MmCreateSection. CORE-6931 svn path=/trunk/; revision=74449
This commit is contained in:
parent
4c8ca6f0a4
commit
1d1755e8f5
1 changed files with 2 additions and 0 deletions
|
@ -5161,6 +5161,8 @@ MmCreateSection (OUT PVOID * Section,
|
|||
MaximumSize,
|
||||
SectionPageProtection,
|
||||
AllocationAttributes);
|
||||
if (FileObject)
|
||||
ObDereferenceObject(FileObject);
|
||||
}
|
||||
|
||||
return Status;
|
||||
|
|
Loading…
Reference in a new issue