[WIN32K]
authorJérôme Gardou <jerome.gardou@reactos.org>
Sat, 25 Sep 2010 19:53:43 +0000 (19:53 +0000)
committerJérôme Gardou <jerome.gardou@reactos.org>
Sat, 25 Sep 2010 19:53:43 +0000 (19:53 +0000)
  - clean up EXLATEOBJ before error path in NtGdiBitBlt

svn path=/trunk/; revision=48891

reactos/subsystems/win32/win32k/objects/bitblt.c

index 3bb33d6..f685b11 100644 (file)
@@ -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);