[ros-diffs] [jgardou] 46698: [WIN32K] Unlock surface when deleting DC
jgardou at svn.reactos.org
jgardou at svn.reactos.org
Sat Apr 3 18:42:04 CEST 2010
Author: jgardou
Date: Sat Apr 3 18:42:04 2010
New Revision: 46698
URL: http://svn.reactos.org/svn/reactos?rev=46698&view=rev
Log:
[WIN32K]
Unlock surface 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/win32/win32k/objects/dclife.c?rev=46698&r1=46697&r2=46698&view=diff
==============================================================================
--- 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] Sat Apr 3 18:42:04 2010
@@ -377,6 +377,9 @@
PATH_Delete(pdc->dclevel.hPath);
+ if(pdc->dclevel.pSurface)
+ SURFACE_ShareUnlockSurface(pdc->dclevel.pSurface);
+
PDEVOBJ_vRelease(pdc->ppdev) ;
return TRUE;
More information about the Ros-diffs
mailing list