mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-02 17:57:22 +08:00
Fix static analyzer issues
This commit is contained in:
@@ -66,7 +66,7 @@ static NSMutableDictionary * __sharedBenchmarks = nil;
|
||||
# pragma mark Initializers
|
||||
|
||||
+ (id)benchmarkWithName:(NSString *)name {
|
||||
return [[self alloc] initWithName:name];
|
||||
return [[[self alloc] initWithName:name] autorelease];
|
||||
}
|
||||
|
||||
- (id)initWithName:(NSString *)name {
|
||||
|
||||
Reference in New Issue
Block a user