Skip to content

Commit b34b586

Browse files
committed
Fixed a memory leak.
1 parent 354c44e commit b34b586

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

framework/Source/CPTScatterPlot.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1512,6 +1512,7 @@ -(BOOL)plotWasLineHitByInteractionPoint:(CGPoint)interactionPoint
15121512
CGPoint plotAreaPoint = [theGraph convertPoint:interactionPoint toLayer:thePlotArea];
15131513

15141514
plotLineHit = CGPathContainsPoint(path, NULL, plotAreaPoint, false);
1515+
CGPathRelease(dataLinePath);
15151516
CGPathRelease(path);
15161517
}
15171518
}

0 commit comments

Comments
 (0)