[WIN32K:ENG] EngAlphaBlend(): Release EnterLeaveSource on error (#4560)

Part of CORE-11156

Co-authored-by: Carlo Bramini <carlo.bramix@libero.it>
This commit is contained in:
Serge Gautherie 2022-07-02 11:30:03 +02:00 committed by GitHub
parent 8a3db976a2
commit b671b1cf8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,6 +111,7 @@ EngAlphaBlend(
if (!IntEngEnter(&EnterLeaveDest, psoDest, &OutputRect, FALSE, &Translate, &OutputObj))
{
IntEngLeave(&EnterLeaveSource);
return FALSE;
}
OutputRect.left += Translate.x;