mirror of
https://github.com/reactos/reactos.git
synced 2025-04-19 20:19:26 +00:00
[WIN32K]
Add another failure check to EngAllocSectionMem svn path=/branches/reactos-yarotows/; revision=47610
This commit is contained in:
parent
98f686c8fc
commit
f705d5861b
1 changed files with 5 additions and 0 deletions
|
@ -219,6 +219,11 @@ EngAllocSectionMem(
|
|||
|
||||
/* Allocate a section object */
|
||||
pSection = EngCreateSection(fl, cjSize, ulTag);
|
||||
if (!pSection)
|
||||
{
|
||||
*ppvSection = NULL;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/* Map the section in session space */
|
||||
Status = MmMapViewInSessionSpace(pSection->pvSectionObject,
|
||||
|
|
Loading…
Reference in a new issue