Once again: Do not free the memory for the bitmap bits, when you have not allocated them.

svn path=/branches/reactos-yarotows/; revision=47611
This commit is contained in:
Timo Kreuzer 2010-06-06 06:32:01 +00:00
parent f705d5861b
commit ca7f8096ff

View file

@ -144,7 +144,6 @@ EngAlphaBlend(IN SURFOBJ *psoDest,
NULL, NULL, NULL, ROP3_TO_ROP4(SRCCOPY)))
{
DPRINT1("EngStretchBlt failed!\n");
EngFreeMem(SourceStretchedObj->pvBits);
EngUnlockSurface(SourceStretchedObj);
EngDeleteSurface((HSURF)SourceStretchedBitmap);
return FALSE;
@ -161,7 +160,6 @@ EngAlphaBlend(IN SURFOBJ *psoDest,
{
if (SourceStretchedObj != NULL)
{
EngFreeMem(SourceStretchedObj->pvBits);
EngUnlockSurface(SourceStretchedObj);
}
if (SourceStretchedBitmap != 0)
@ -180,7 +178,6 @@ EngAlphaBlend(IN SURFOBJ *psoDest,
IntEngLeave(&EnterLeaveSource);
if (SourceStretchedObj != NULL)
{
EngFreeMem(SourceStretchedObj->pvBits);
EngUnlockSurface(SourceStretchedObj);
}
if (SourceStretchedBitmap != 0)
@ -258,7 +255,6 @@ EngAlphaBlend(IN SURFOBJ *psoDest,
if (SourceStretchedObj != NULL)
{
EngFreeMem(SourceStretchedObj->pvBits);
EngUnlockSurface(SourceStretchedObj);
}
if (SourceStretchedBitmap != 0)