mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:22:57 +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,
|
MaximumSize,
|
||||||
SectionPageProtection,
|
SectionPageProtection,
|
||||||
AllocationAttributes);
|
AllocationAttributes);
|
||||||
|
if (FileObject)
|
||||||
|
ObDereferenceObject(FileObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue