Skip to content

Commit

Permalink
Merge pull request #2 from adysart/fix_memory_leak
Browse files Browse the repository at this point in the history
fix memory leak
  • Loading branch information
nitishmakhija authored Aug 13, 2017
2 parents b4c6130 + 926997d commit 3727df9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions EasyTips/RCEasyTipView.m
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3727df9

Please sign in to comment.