Permalink
Browse files

Fixed over-release bug when not using ARC

  • Loading branch information...
1 parent 92493bc commit 5f9600c57ae325f146a1e684f0b7bee301c6c6b9 @nicklockwood committed Oct 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 BaseModel/BaseModel.m
View
@@ -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)

0 comments on commit 5f9600c

Please sign in to comment.