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; }