From 2d47989616547cde6cccb36ff4a33370b1b1f01c Mon Sep 17 00:00:00 2001 From: Mark Rowe Date: Fri, 21 Aug 2009 15:26:55 -0700 Subject: [PATCH] Remove bogus call to retain that results in a leak of an NSMethodSignature. --- SUBasicUpdateDriver.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SUBasicUpdateDriver.m b/SUBasicUpdateDriver.m index 46301893..8317037e 100644 --- a/SUBasicUpdateDriver.m +++ b/SUBasicUpdateDriver.m @@ -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;