gujjula / core-plot

Automatically exported from code.google.com/p/core-plot
0 stars 0 forks source link

Memory Leak in CPTPieChart #295

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Launch a test app in Leaks that uses a CPTPieChart and then removes it from 
the view

What is the expected output? What do you see instead?

No leaks are expected, but a leak occurs

What version of the product are you using? On what operating system?

Latest version on iOS

Please provide any additional information below.

CPTPieChart has the following property:

@property (nonatomic, readwrite, copy) CPTFill *overlayFill;

however in the dealloc method it is not released.

FIX: 

[overlayFill release]; in the dealloc method for CPTPieChart

Original issue reported on code.google.com by eric....@gmail.com on 20 Jun 2011 at 5:07

GoogleCodeExporter commented 9 years ago
Done.

Original comment by drewmcco...@mac.com on 20 Jun 2011 at 5:18