Revision: 7203
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7203&view=rev
Author:   hofman
Date:     2011-04-06 10:15:29 +0000 (Wed, 06 Apr 2011)

Log Message:
-----------
use macro

Modified Paths:
--------------
    trunk/SKMainDocument.m

Modified: trunk/SKMainDocument.m
===================================================================
--- trunk/SKMainDocument.m      2011-04-05 12:49:15 UTC (rev 7202)
+++ trunk/SKMainDocument.m      2011-04-06 10:15:29 UTC (rev 7203)
@@ -208,8 +208,7 @@
     [self setPrintInfo:[[[self printInfo] copy] autorelease]];
     
     [self setDataFromTmpData];
-    [tmpData release];
-    tmpData = nil;
+    SKDESTROY(tmpData);
     
     [[self undoManager] enableUndoRegistration];
     
@@ -255,8 +254,7 @@
     if ([windowController isEqual:mainWindowController]) {
         // we need to do this on Tiger, because windowWillClose notifications 
are posted after this
         [self saveRecentDocumentInfo];
-        [mainWindowController release];
-        mainWindowController = nil;
+        SKDESTROY(mainWindowController);
     }
     [super removeWindowController:windowController];
 }
@@ -857,8 +855,7 @@
         [fileUpdateChecker checkFileUpdatesIfNeeded];
     }
     
-    [tmpData release];
-    tmpData = nil;
+    SKDESTROY(tmpData);
     
     if (disableAlert == NO)
         [[self progressController] dismissSheet:nil];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to