[ros-kernel] RE: [ros-cvs] CVS Update: reactos (sections)
Filip Navara
xnavara at volny.cz
Sat Aug 7 22:58:20 CEST 2004
Hartmut Birr wrote:
>Hi,
>
>it seems that something is wrong in your changes. Compiling ros on ros runs
>out of non paged pool space. The memory of section object is not freed.
>
>- Hartmut
>
>
Does this fix patch fix it?
Regards,
Filip
--- ntoskrnl/mm/section.c 5 Aug 2004 19:59:13 -0000 1.156
+++ ntoskrnl/mm/section.c 7 Aug 2004 19:40:13 -0000
@@ -2957,10 +2986,7 @@
0,
NULL,
SectionHandle);
- if (!NT_SUCCESS(Status))
- {
- ObDereferenceObject(SectionObject);
- }
+ ObDereferenceObject(SectionObject);
}
return Status;
More information about the Ros-kernel
mailing list