diff --git a/reactos/ntoskrnl/mm/section.c b/reactos/ntoskrnl/mm/section.c index 22d3b99acdd..dc786803b26 100644 --- a/reactos/ntoskrnl/mm/section.c +++ b/reactos/ntoskrnl/mm/section.c @@ -5161,6 +5161,8 @@ MmCreateSection (OUT PVOID * Section, MaximumSize, SectionPageProtection, AllocationAttributes); + if (FileObject) + ObDereferenceObject(FileObject); } return Status;