Does the following code result in bad stuff happening ?
Code:
- (void)drawRect:(CGRect)rect
{
CGContextRef context = UIGraphicsGetCurrentContext();
/* unimportant stuff happens here */
CGContextRelease(context);
}