Revision: 7166
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7166&view=rev
Author:   hofman
Date:     2011-03-15 18:32:07 +0000 (Tue, 15 Mar 2011)

Log Message:
-----------
use proper retain management

Modified Paths:
--------------
    trunk/vendorsrc/andymatuschak/Sparkle/SUUpdatePermissionPrompt.m

Modified: trunk/vendorsrc/andymatuschak/Sparkle/SUUpdatePermissionPrompt.m
===================================================================
--- trunk/vendorsrc/andymatuschak/Sparkle/SUUpdatePermissionPrompt.m    
2011-03-15 18:19:21 UTC (rev 7165)
+++ trunk/vendorsrc/andymatuschak/Sparkle/SUUpdatePermissionPrompt.m    
2011-03-15 18:32:07 UTC (rev 7166)
@@ -39,7 +39,7 @@
        // the user would not know why the application was paused.
        if ([aHost isBackgroundApplication]) { [NSApp 
activateIgnoringOtherApps:YES]; }
        
-       id prompt = [[[self class] alloc] initWithHost:aHost 
systemProfile:profile delegate:d];
+       id prompt = [[[[self class] alloc] initWithHost:aHost 
systemProfile:profile delegate:d] autorelease];
        [NSApp runModalForWindow:[prompt window]];
 }
 
@@ -125,7 +125,6 @@
        [delegate updatePermissionPromptFinishedWithResult:([sender tag] == 1 ? 
SUAutomaticallyCheck : SUDoNotAutomaticallyCheck)];
        [[self window] close];
        [NSApp stopModal];
-       [self autorelease];
 }
 
 @end


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

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to