Author: fireball
Date: Fri Oct 5 21:17:49 2007
New Revision: 29400
URL:
http://svn.reactos.org/svn/reactos?rev=29400&view=rev
Log:
- Don't allocate pool with a NULL tag, use ExAllocatePool instead.
Modified:
trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c
Modified: trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntddraw/dd.c Fri Oct 5 21:17:49 2007
@@ -88,11 +88,11 @@
DPRINT1("Setup surface in put handler\n");
- myhSurface = ExAllocatePoolWithTag( PagedPool, CreateSurfaceData.dwSCnt *
sizeof(HANDLE), 0);
-
- _SEH_TRY
- {
- ProbeForRead(hSurface, CreateSurfaceData.dwSCnt * sizeof(HANDLE), 1);
+ myhSurface = ExAllocatePool(PagedPool, CreateSurfaceData.dwSCnt * sizeof(HANDLE));
+
+ _SEH_TRY
+ {
+ ProbeForRead(hSurface, CreateSurfaceData.dwSCnt * sizeof(HANDLE), 1);
for (i=0;i<CreateSurfaceData.dwSCnt;i++)
{
myhSurface[i] = hSurface[i];