mirror of
https://github.com/reactos/reactos.git
synced 2024-09-16 07:39:32 +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))
|
&ClippedDestRect, &SrcPoint))
|
||||||
{
|
{
|
||||||
EngDeleteClip(EnterLeave->TrivialClipObj);
|
EngDeleteClip(EnterLeave->TrivialClipObj);
|
||||||
EngFreeMem((*ppsoOutput)->pvBits);
|
|
||||||
EngUnlockSurface(*ppsoOutput);
|
EngUnlockSurface(*ppsoOutput);
|
||||||
EngDeleteSurface((HSURF)EnterLeave->OutputBitmap);
|
EngDeleteSurface((HSURF)EnterLeave->OutputBitmap);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -219,7 +218,6 @@ IntEngLeave(PINTENG_ENTER_LEAVE EnterLeave)
|
||||||
Result = TRUE;
|
Result = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
EngFreeMem(EnterLeave->OutputObj->pvBits);
|
|
||||||
EngUnlockSurface(EnterLeave->OutputObj);
|
EngUnlockSurface(EnterLeave->OutputObj);
|
||||||
EngDeleteSurface((HSURF)EnterLeave->OutputBitmap);
|
EngDeleteSurface((HSURF)EnterLeave->OutputBitmap);
|
||||||
EngDeleteClip(EnterLeave->TrivialClipObj);
|
EngDeleteClip(EnterLeave->TrivialClipObj);
|
||||||
|
|
Loading…
Reference in a new issue