mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-30 05:28:50 +00:00
fixed extra ref count, half of bug #502212
This commit is contained in:
1 parent
b21b308203
commit
36b7d434ad
1 file changed
+1
-1
+1
-1
@@ -47,7 +47,7 @@ static NSString * const SUUpdaterDefaultsObservationContext = @"SUUpdaterDefault
|
||||
if (bundle == nil) bundle = [NSBundle mainBundle];
|
||||
id updater = [sharedUpdaters objectForKey:[NSValue valueWithNonretainedObject:bundle]];
|
||||
if (updater == nil)
|
||||
updater = [[[self class] alloc] initForBundle:bundle];
|
||||
updater = [[[[self class] alloc] initForBundle:bundle] autorelease];
|
||||
return updater;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user