mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 16:36:11 +00:00
- Fix a Kernel Assert in EngAllocMem called from brush and add a tag.
svn path=/trunk/; revision=36653
This commit is contained in:
parent
18edd07564
commit
47e5a8aad7
|
@ -524,7 +524,7 @@ NtGdiCreateDIBBrush(
|
|||
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);
|
||||
|
|
Loading…
Reference in a new issue