mirror of
https://github.com/reactos/reactos.git
synced 2024-09-06 10:52:52 +00:00
[WIN32K]
Do not free the memory for the bitmap bits, when you have not allocated them. Fixes bugcheck with VBox driver. svn path=/branches/reactos-yarotows/; revision=47609
This commit is contained in:
parent
0c60cdb311
commit
98f686c8fc
|
@ -127,7 +127,6 @@ IntEngEnter(PINTENG_ENTER_LEAVE EnterLeave,
|
|||
&ClippedDestRect, &SrcPoint))
|
||||
{
|
||||
EngDeleteClip(EnterLeave->TrivialClipObj);
|
||||
EngFreeMem((*ppsoOutput)->pvBits);
|
||||
EngUnlockSurface(*ppsoOutput);
|
||||
EngDeleteSurface((HSURF)EnterLeave->OutputBitmap);
|
||||
return FALSE;
|
||||
|
@ -219,7 +218,6 @@ IntEngLeave(PINTENG_ENTER_LEAVE EnterLeave)
|
|||
Result = TRUE;
|
||||
}
|
||||
}
|
||||
EngFreeMem(EnterLeave->OutputObj->pvBits);
|
||||
EngUnlockSurface(EnterLeave->OutputObj);
|
||||
EngDeleteSurface((HSURF)EnterLeave->OutputBitmap);
|
||||
EngDeleteClip(EnterLeave->TrivialClipObj);
|
||||
|
|
Loading…
Reference in a new issue