[WIN32K]
authorJérôme Gardou <jerome.gardou@reactos.org>
Sun, 28 Mar 2010 00:51:25 +0000 (00:51 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Sun, 28 Mar 2010 00:51:25 +0000 (00:51 +0000)
Close another pair of DC_lockDc DC_UnlockDc.

svn path=/branches/reactos-yarotows/; revision=46508

subsystems/win32/win32k/objects/dcobjs.c

index e35fa71..1a1d0ea 100644 (file)
@@ -352,6 +352,7 @@ NtGdiSelectClipPath(
     if (pPath->state != PATH_Closed)
     {
         SetLastWin32Error(ERROR_CAN_NOT_COMPLETE);
+        DC_UnlockDc(pdc);
         return FALSE;
     }