[WIN32K:NTGDI]

- Release device context semaphores in failure cases of GreExtTextOutW
CORE-8169 #resolve

svn path=/trunk/; revision=63142
This commit is contained in:
Thomas Faber
2014-05-04 08:38:44 +00:00
parent e399b920c2
commit 56be505cae
+4
View File
@@ -3533,6 +3533,7 @@ GreExtTextOutW(
{
DPRINT1("Failed to load and render glyph! [index: %d]\n", glyph_index);
IntUnLockFreeType;
DC_vFinishBlit(dc, NULL);
goto fail2;
}
glyph = face->glyph;
@@ -3546,6 +3547,7 @@ GreExtTextOutW(
{
DPRINT1("Failed to render glyph! [index: %d]\n", glyph_index);
IntUnLockFreeType;
DC_vFinishBlit(dc, NULL);
goto fail2;
}
}
@@ -3609,6 +3611,7 @@ GreExtTextOutW(
DPRINT1("WARNING: EngLockSurface() failed!\n");
// FT_Done_Glyph(realglyph);
IntUnLockFreeType;
DC_vFinishBlit(dc, NULL);
goto fail2;
}
SourceGlyphSurf = EngLockSurface((HSURF)HSourceGlyph);
@@ -3617,6 +3620,7 @@ GreExtTextOutW(
EngDeleteSurface((HSURF)HSourceGlyph);
DPRINT1("WARNING: EngLockSurface() failed!\n");
IntUnLockFreeType;
DC_vFinishBlit(dc, NULL);
goto fail2;
}