Commit in reactos/subsys/win32k/eng on MAIN
surface.c+3-11.34 -> 1.35
- Unlock surface in error case of EngModifySurface.

reactos/subsys/win32k/eng
surface.c 1.34 -> 1.35
diff -u -r1.34 -r1.35
--- surface.c	17 Mar 2004 16:05:29 -0000	1.34
+++ surface.c	20 Mar 2004 17:33:10 -0000	1.35
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  */
-/* $Id: surface.c,v 1.34 2004/03/17 16:05:29 navaraf Exp $
+/* $Id: surface.c,v 1.35 2004/03/20 17:33:10 navaraf Exp $
  * 
  * COPYRIGHT:         See COPYING in the top level directory
  * PROJECT:           ReactOS kernel
@@ -506,6 +506,8 @@
 
    if (!EngAssociateSurface(hsurf, hdev, flHooks))
    {
+      EngUnlockSurface(pso);
+
       return FALSE;
    }
 
CVSspam 0.2.8