Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed over-release bug when not using ARC

  • Loading branch information...
commit 5f9600c57ae325f146a1e684f0b7bee301c6c6b9 1 parent 92493bc
@nicklockwood authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  BaseModel/BaseModel.m
View
2  BaseModel/BaseModel.m
@@ -140,7 +140,7 @@ + (void)setClassProperty:(id)property forKey:(NSString *)key
NSString *className = NSStringFromClass(self);
if (!classValues)
{
- classValues = [NSMutableDictionary dictionary];
+ classValues = [[NSMutableDictionary alloc] init];
}
NSMutableDictionary *values = [classValues objectForKey:className];
if (!values)
Please sign in to comment.
Something went wrong with that request. Please try again.