From 5faac2284481cfbcbe5a95795b5bfc9589d22dd9 Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Wed, 26 May 2010 22:33:10 +0000 Subject: [PATCH] [WIN32K] GreGradientFill: don't forget to unlock the DC svn path=/trunk/; revision=47367 --- reactos/subsystems/win32/win32k/objects/fillshap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/subsystems/win32/win32k/objects/fillshap.c b/reactos/subsystems/win32/win32k/objects/fillshap.c index 87304e3c729..327b628ed30 100644 --- a/reactos/subsystems/win32/win32k/objects/fillshap.c +++ b/reactos/subsystems/win32/win32k/objects/fillshap.c @@ -955,6 +955,8 @@ GreGradientFill( if (ppal) PALETTE_UnlockPalette(ppal); + DC_UnlockDc(pdc); + return bRet; }