From 8206cd0b71f681c3c208c2cba3473c5d70d1c4c1 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Fri, 5 Oct 2007 17:17:49 +0000 Subject: [PATCH] - Don't allocate pool with a NULL tag, use ExAllocatePool instead. svn path=/trunk/; revision=29400 --- reactos/subsystems/win32/win32k/ntddraw/dd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsystems/win32/win32k/ntddraw/dd.c b/reactos/subsystems/win32/win32k/ntddraw/dd.c index 7915255cd96..135f6724b67 100644 --- a/reactos/subsystems/win32/win32k/ntddraw/dd.c +++ b/reactos/subsystems/win32/win32k/ntddraw/dd.c @@ -88,11 +88,11 @@ DWORD STDCALL NtGdiDdCreateSurface( DPRINT1("Setup surface in put handler\n"); - myhSurface = ExAllocatePoolWithTag( PagedPool, CreateSurfaceData.dwSCnt * sizeof(HANDLE), 0); + myhSurface = ExAllocatePool(PagedPool, CreateSurfaceData.dwSCnt * sizeof(HANDLE)); _SEH_TRY { - ProbeForRead(hSurface, CreateSurfaceData.dwSCnt * sizeof(HANDLE), 1); + ProbeForRead(hSurface, CreateSurfaceData.dwSCnt * sizeof(HANDLE), 1); for (i=0;i