Remove bogus call to retain that results in a leak of an NSMethodSignature.

This commit is contained in:
Mark Rowe committed 2009-08-21 15:26:55 -07:00
1 parent f259b5e825
commit 2d47989616
1 file changed
+1 -1
+1 -1
View File
@@ -242,7 +242,7 @@
static BOOL postponedOnce = NO;
if (!postponedOnce && [[updater delegate] respondsToSelector:@selector(updater:shouldPostponeRelaunchForUpdate:untilInvoking:)])
{
NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[[[self class] instanceMethodSignatureForSelector:@selector(relaunchHostApp)] retain]];
NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[[self class] instanceMethodSignatureForSelector:@selector(relaunchHostApp)]];
[invocation setSelector:@selector(relaunchHostApp)];
[invocation setTarget:self];
postponedOnce = YES;