Export to GitHub

simple-iphone-image-processing - issue #9

Memory Leak on Image class with the UIImage constructor


Posted on Sep 29, 2011 by Grumpy Camel

Use the Image::createImage(UIImage*,int width,int height) method to create a new Image object Notice that upon destruction of the object the m_imageData variable does not get released

To fix this add: m_ownsData=true; To the bottom of the constructor mentioned at the top of this issue.

Status: New

Labels:
Type-Defect Priority-Medium