From 91a2bfd277f2e7928da509c3d110fabccaa99234 Mon Sep 17 00:00:00 2001 From: Art Yerkes Date: Wed, 29 Sep 2004 03:36:52 +0000 Subject: [PATCH] These calls to ExAllocatePool are done at != PASSIVE_LEVEL. Allocate non-paged-pool. svn path=/trunk/; revision=11116 --- reactos/subsys/win32k/objects/gdiobj.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/subsys/win32k/objects/gdiobj.c b/reactos/subsys/win32k/objects/gdiobj.c index 58fc7fa6b2f..0830598123e 100644 --- a/reactos/subsys/win32k/objects/gdiobj.c +++ b/reactos/subsys/win32k/objects/gdiobj.c @@ -19,7 +19,7 @@ /* * GDIOBJ.C - GDI object manipulation routines * - * $Id: gdiobj.c,v 1.71 2004/07/04 12:00:40 navaraf Exp $ + * $Id: gdiobj.c,v 1.72 2004/09/29 03:36:52 arty Exp $ * */ #include @@ -197,7 +197,7 @@ GDIOBJ_iAllocHandleTable (WORD Size) /* prevent APC delivery for the *FastMutexUnsafe calls */ const KIRQL PrevIrql = KfRaiseIrql(APC_LEVEL); ExAcquireFastMutexUnsafe (&HandleTableMutex); - handleTable = ExAllocatePoolWithTag(PagedPool, MemSize, TAG_GDIHNDTBLE); + handleTable = ExAllocatePoolWithTag(NonPagedPool, MemSize, TAG_GDIHNDTBLE); ASSERT( handleTable ); memset (handleTable, 0, MemSize); #if GDI_COUNT_OBJECTS @@ -205,7 +205,7 @@ GDIOBJ_iAllocHandleTable (WORD Size) #endif handleTable->wTableSize = Size; handleTable->AllocationHint = 1; - handleTable->LookasideLists = ExAllocatePoolWithTag(PagedPool, + handleTable->LookasideLists = ExAllocatePoolWithTag(NonPagedPool, OBJTYPE_COUNT * sizeof(PAGED_LOOKASIDE_LIST), TAG_GDIHNDTBLE); if (NULL == handleTable->LookasideLists)