From cb3ae7dca058d7c7febe7c07a41bf888e0936462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gardou?= Date: Sat, 25 Sep 2010 19:53:43 +0000 Subject: [PATCH] [WIN32K] - clean up EXLATEOBJ before error path in NtGdiBitBlt svn path=/trunk/; revision=48891 --- reactos/subsystems/win32/win32k/objects/bitblt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsystems/win32/win32k/objects/bitblt.c b/reactos/subsystems/win32/win32k/objects/bitblt.c index 3bb33d6bbac..f685b1163e5 100644 --- a/reactos/subsystems/win32/win32k/objects/bitblt.c +++ b/reactos/subsystems/win32/win32k/objects/bitblt.c @@ -291,9 +291,9 @@ NtGdiBitBlt( &DCDest->dclevel.pbrFill->ptOrigin, ROP3_TO_ROP4(ROP)); -cleanup: - if (UsesSource) + if (UsesSource) EXLATEOBJ_vCleanup(&exlo); +cleanup: if (UsesSource && hDCSrc != hDCDest) { DC_UnlockDc(DCSrc);