https://git.reactos.org/?p=reactos.git;a=commitdiff;h=b671b1cf8f7c3dce718d8…
commit b671b1cf8f7c3dce718d81f9067e07c66f878498
Author: Serge Gautherie <32623169+SergeGautherie(a)users.noreply.github.com>
AuthorDate: Sat Jul 2 11:30:03 2022 +0200
Commit: GitHub <noreply(a)github.com>
CommitDate: Sat Jul 2 12:30:03 2022 +0300
[WIN32K:ENG] EngAlphaBlend(): Release EnterLeaveSource on error (#4560)
Part of CORE-11156
Co-authored-by: Carlo Bramini <carlo.bramix(a)libero.it>
---
win32ss/gdi/eng/alphablend.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/win32ss/gdi/eng/alphablend.c b/win32ss/gdi/eng/alphablend.c
index 869698989ba..012d8c984be 100644
--- a/win32ss/gdi/eng/alphablend.c
+++ b/win32ss/gdi/eng/alphablend.c
@@ -111,6 +111,7 @@ EngAlphaBlend(
if (!IntEngEnter(&EnterLeaveDest, psoDest, &OutputRect, FALSE,
&Translate, &OutputObj))
{
+ IntEngLeave(&EnterLeaveSource);
return FALSE;
}
OutputRect.left += Translate.x;