@implementation NSMutableData(SQLitePersistence)
- (id)initWithSQLBlobRepresentation:(NSData *)data
{
self = [[NSMutableData dataWithData:data] retain];
return self;
}
@end
In this method, the original +[self alloc] call is not balanced by a
corresponding release. The
assignment of self causes this.
Fix:
- (id)initWithSQLBlobRepresentation:(NSData *)data
{
return [self initWithData:data];
}
Original issue reported on code.google.com by j.p.dann on 23 Jan 2009 at 3:11
Original issue reported on code.google.com by
j.p.dann
on 23 Jan 2009 at 3:11