mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 16:02:56 +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)))
|
NULL, NULL, NULL, ROP3_TO_ROP4(SRCCOPY)))
|
||||||
{
|
{
|
||||||
DPRINT1("EngStretchBlt failed!\n");
|
DPRINT1("EngStretchBlt failed!\n");
|
||||||
EngFreeMem(SourceStretchedObj->pvBits);
|
|
||||||
EngUnlockSurface(SourceStretchedObj);
|
EngUnlockSurface(SourceStretchedObj);
|
||||||
EngDeleteSurface((HSURF)SourceStretchedBitmap);
|
EngDeleteSurface((HSURF)SourceStretchedBitmap);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -161,7 +160,6 @@ EngAlphaBlend(IN SURFOBJ *psoDest,
|
||||||
{
|
{
|
||||||
if (SourceStretchedObj != NULL)
|
if (SourceStretchedObj != NULL)
|
||||||
{
|
{
|
||||||
EngFreeMem(SourceStretchedObj->pvBits);
|
|
||||||
EngUnlockSurface(SourceStretchedObj);
|
EngUnlockSurface(SourceStretchedObj);
|
||||||
}
|
}
|
||||||
if (SourceStretchedBitmap != 0)
|
if (SourceStretchedBitmap != 0)
|
||||||
|
@ -180,7 +178,6 @@ EngAlphaBlend(IN SURFOBJ *psoDest,
|
||||||
IntEngLeave(&EnterLeaveSource);
|
IntEngLeave(&EnterLeaveSource);
|
||||||
if (SourceStretchedObj != NULL)
|
if (SourceStretchedObj != NULL)
|
||||||
{
|
{
|
||||||
EngFreeMem(SourceStretchedObj->pvBits);
|
|
||||||
EngUnlockSurface(SourceStretchedObj);
|
EngUnlockSurface(SourceStretchedObj);
|
||||||
}
|
}
|
||||||
if (SourceStretchedBitmap != 0)
|
if (SourceStretchedBitmap != 0)
|
||||||
|
@ -258,7 +255,6 @@ EngAlphaBlend(IN SURFOBJ *psoDest,
|
||||||
|
|
||||||
if (SourceStretchedObj != NULL)
|
if (SourceStretchedObj != NULL)
|
||||||
{
|
{
|
||||||
EngFreeMem(SourceStretchedObj->pvBits);
|
|
||||||
EngUnlockSurface(SourceStretchedObj);
|
EngUnlockSurface(SourceStretchedObj);
|
||||||
}
|
}
|
||||||
if (SourceStretchedBitmap != 0)
|
if (SourceStretchedBitmap != 0)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue