teaglin / vnsea

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

Memory leak #173

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
in VnseaApp.m:
NSMutableDictionary * serverInfo = [[[servers objectAtIndex:serverIndex] 
mutableCopy] retain];
in VNCServerInfoView.m:
_serverInfo = [[info mutableCopy] retain];

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

Original issue reported on code.google.com by fake.sha...@gmail.com on 20 Jan 2011 at 7:21