nguyenphanhuynh / iphonefrotz

Automatically exported from code.google.com/p/iphonefrotz
Other
0 stars 0 forks source link

Memory leak #127

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
in src/iphone/StoryBrowser.m:
m_path = [[path copy] retain];

in src/iphone/StoryMainView.m:
m_fontname = [[font copy] retain];

"copy" already retains, so you are retaining twice, causing a memory leak

Original issue reported on code.google.com by spoon.re...@gmail.com on 20 Jan 2011 at 7:18

GoogleCodeExporter commented 8 years ago
Those source files are actually really really old and I apparently deleted the 
files locally when I moved them to a new directory without deleting them in 
svn.  See the newer versions in src/Classes.

The bug in StoryBrowser.m was fixed a while back, but it looks like the font 
one is still there.

Original comment by spath...@gmail.com on 20 Jan 2011 at 9:49

GoogleCodeExporter commented 8 years ago
Fixed in 1.5.1.

Original comment by spath...@gmail.com on 30 Mar 2011 at 9:41