mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user