Source/DiscPiece.m
changeset 15 73f8c889f053
parent 11 436cbdf56810
child 16 28392c9a969f
     1.1 --- a/Source/DiscPiece.m	Sat Jul 05 17:46:43 2008 -0700
     1.2 +++ b/Source/DiscPiece.m	Wed Jul 09 17:07:45 2008 -0700
     1.3 @@ -38,7 +38,7 @@
     1.4          _imageLayer.contentsGravity = @"resizeAspect";
     1.5          _imageLayer.masksToBounds = YES;
     1.6          [self addSublayer: _imageLayer];
     1.7 -        [_imageLayer release];
     1.8 +        [_imageLayer release]; // superlayer is holding onto it
     1.9      }
    1.10      _imageLayer.frame = CGRectInset(self.bounds, outerDiameter-diameter, outerDiameter-diameter);
    1.11      _imageLayer.cornerRadius = diameter/2;