Author: jgardou Date: Sun Mar 28 23:45:43 2010 New Revision: 46527
URL: http://svn.reactos.org/svn/reactos?rev=46527&view=rev Log: [WIN32K] Release ppdev when deleting DC
Modified: branches/reactos-yarotows/subsystems/win32/win32k/objects/dclife.c
Modified: branches/reactos-yarotows/subsystems/win32/win32k/objects/dclife.c URL: http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/subsystems/win3... ============================================================================== --- branches/reactos-yarotows/subsystems/win32/win32k/objects/dclife.c [iso-8859-1] (original) +++ branches/reactos-yarotows/subsystems/win32/win32k/objects/dclife.c [iso-8859-1] Sun Mar 28 23:45:43 2010 @@ -374,6 +374,8 @@
PATH_Delete(pdc->dclevel.hPath);
+ PDEVOBJ_vRelease(pdc->ppdev) ; + return TRUE; }
@@ -653,8 +655,6 @@ /* Allocate a dc attribute */ DC_AllocDcAttr(pdcNew);
- PDEVOBJ_vRelease(ppdev); - // HACK! DC_vSelectSurface(pdcNew, psurfDefaultBitmap);