mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[WIN32K]
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:
parent
f705d5861b
commit
ca7f8096ff
1 changed files with 0 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue