[WIN32K]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 26 May 2010 22:33:10 +0000 (22:33 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Wed, 26 May 2010 22:33:10 +0000 (22:33 +0000)
GreGradientFill: don't forget to unlock the DC

svn path=/trunk/; revision=47367

reactos/subsystems/win32/win32k/objects/fillshap.c

index 87304e3..327b628 100644 (file)
@@ -955,6 +955,8 @@ GreGradientFill(
     if (ppal)
         PALETTE_UnlockPalette(ppal);
 
     if (ppal)
         PALETTE_UnlockPalette(ppal);
 
+    DC_UnlockDc(pdc);
+
     return bRet;
 }
 
     return bRet;
 }