diff --git a/EasyTips/RCEasyTipView.m b/EasyTips/RCEasyTipView.m index 3c75bd9..744b06c 100644 --- a/EasyTips/RCEasyTipView.m +++ b/EasyTips/RCEasyTipView.m @@ -358,6 +358,8 @@ - (void)drawBubbleWithFrame:(CGRect)bubbleFrame arrowPosition:(ArrowPosition)pos if (![_preferences.drawing.borderColor isEqual:[UIColor clearColor]] && _preferences.drawing.borderWidth) { [self drawBorderWithPath:contourPath andContext:context]; } + + CGPathRelease(contourPath); } - (void)drawTopBubbleShapeWithFrame:(CGRect)frame cornerRadius:(CGFloat)radius path:(CGMutablePathRef)path { CGPathAddArcToPoint(path, &CGAffineTransformIdentity, frame.origin.x, frame.origin.y, frame.origin.x, frame.origin.y + frame.size.height, radius);