We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6bd01d2 + be76a69 commit a027c5eCopy full SHA for a027c5e
2 files changed
UIImageView+Letters/UIImageView+Letters.m
@@ -124,6 +124,7 @@ - (UIImage *)imageSnapshotFromText:(NSString *)text backgroundColor:(UIColor *)c
124
CGPathRef path = CGPathCreateWithEllipseInRect(self.bounds, NULL);
125
CGContextAddPath(context, path);
126
CGContextClip(context);
127
+ CGPathRelease(path);
128
}
129
130
//
UIImageViewLettersSample/UIImageViewLettersSample/UIImageView+Letters/UIImageView+Letters.m
0 commit comments