wazzamc808 / understudy

Automatically exported from code.google.com/p/understudy
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Memory leak #167

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
in Menuing/UNDPreferenceManager.m:
feeds_ = [[[prefDict objectForKey:@"feeds"] mutableCopy] retain];
titles_ = [[[prefDict objectForKey:@"titles"] mutableCopy] retain];

"mutableCopy" 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:02

GoogleCodeExporter commented 8 years ago
Thanks for pointing this out, but that isn't the current state of code in the 
repository.

Original comment by kirk.kel...@rochester.edu on 20 Jan 2011 at 12:51