mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[WIN32K]
Fix crash, when running out of paged pool. Found by r3ddr4g0n. svn path=/trunk/; revision=57962
This commit is contained in:
@@ -1237,6 +1237,11 @@ GDIOBJ_AllocObjWithHandle(ULONG ObjectType, ULONG cjSize)
|
||||
}
|
||||
|
||||
pobj = GDIOBJ_AllocateObject(objt, cjSize, fl);
|
||||
if (!pobj)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!GDIOBJ_hInsertObject(pobj, GDI_OBJ_HMGR_POWNED))
|
||||
{
|
||||
GDIOBJ_vFreeObject(pobj);
|
||||
|
||||
Reference in New Issue
Block a user