Author: jimtabor
Date: Sun Oct 5 06:38:01 2008
New Revision: 36653
URL:
http://svn.reactos.org/svn/reactos?rev=36653&view=rev
Log:
- Fix a Kernel Assert in EngAllocMem called from brush and add a tag.
Modified:
trunk/reactos/subsystems/win32/win32k/objects/brush.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/brush.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/brush.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/brush.c [iso-8859-1] Sun Oct 5 06:38:01
2008
@@ -524,7 +524,7 @@
NTSTATUS Status = STATUS_SUCCESS;
HBRUSH hBrush;
- SafeBitmapInfoAndData = EngAllocMem(0, BitmapInfoSize, 0);
+ SafeBitmapInfoAndData = EngAllocMem(FL_ZERO_MEMORY, BitmapInfoSize, TAG_DIB);
if (SafeBitmapInfoAndData == NULL)
{
SetLastWin32Error(ERROR_NOT_ENOUGH_MEMORY);