Do I need to release the context returned from UIGraphicsGetCurrentContext()?

Viewed 5423

I am using CGContextRef.

UIGraphicsBeginImageContext(self.drawImage.frame.size);
CGContextRef context=UIGraphicsGetCurrentContext();
CGContextSetRGBStrokeColor(context,0.0f,0.0f,0.0f,1.0f);
UIGraphicsEndImageContext();
CGContextRelease(context);

Do I need to call CGContextRelease(Context); in the above one.

1 Answers
Related