Search code examples
iphonecocoa-touchpathquartz-graphics

CGMutablePathRef Memory Management


Do I need to release a CGMutablePathRef when I'm done with it? If so, how?


Solution

  • In the CGPath docs, there are both CGPathRetain and CGPathRelease functions.