Author: tkreuzer Date: Sun Jun 6 07:45:36 2010 New Revision: 47609
URL: http://svn.reactos.org/svn/reactos?rev=47609&view=rev Log: [WIN32K] Do not free the memory for the bitmap bits, when you have not allocated them. Fixes bugcheck with VBox driver.
Modified: branches/reactos-yarotows/subsystems/win32/win32k/eng/engmisc.c
Modified: branches/reactos-yarotows/subsystems/win32/win32k/eng/engmisc.c URL: http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/subsystems/win3... ============================================================================== --- branches/reactos-yarotows/subsystems/win32/win32k/eng/engmisc.c [iso-8859-1] (original) +++ branches/reactos-yarotows/subsystems/win32/win32k/eng/engmisc.c [iso-8859-1] Sun Jun 6 07:45:36 2010 @@ -127,7 +127,6 @@ &ClippedDestRect, &SrcPoint)) { EngDeleteClip(EnterLeave->TrivialClipObj); - EngFreeMem((*ppsoOutput)->pvBits); EngUnlockSurface(*ppsoOutput); EngDeleteSurface((HSURF)EnterLeave->OutputBitmap); return FALSE; @@ -219,7 +218,6 @@ Result = TRUE; } } - EngFreeMem(EnterLeave->OutputObj->pvBits); EngUnlockSurface(EnterLeave->OutputObj); EngDeleteSurface((HSURF)EnterLeave->OutputBitmap); EngDeleteClip(EnterLeave->TrivialClipObj);