Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-15-2009, 03:03 PM   #6 (permalink)
PhoneyDeveloper
New Member
 
Join Date: Sep 2008
Posts: 1,431
PhoneyDeveloper is on a distinguished road
Default

Remember that the leaks tool doesn't tell you where a leak is created. It tells you where the leaked object was created. So this line of code is where the object was created but it's probably leaked somewhere else.

If you have a dictionary then you have strings, either as keys or values in the dictionary. If a value from the dictionary is retained somewhere and never released that would cause this kind of leak.

If the container object itself were leaked then all the keys and values would also be leaked. Is that the case? Is the dictionary leaked? If not, then this line of code is kind of a red herring. The leak is elsewhere.
PhoneyDeveloper is offline   Reply With Quote
 

» Advertisements
» Online Users: 446
12 members and 434 guests
baja_yu, buggen, CatfishBlues Games, ChrisYates, foany, HowEver, Kieren Harrold, mer10, Paul Slocum, Rudy, ryantcb, TheStalker
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,635
Threads: 94,096
Posts: 402,802
Top Poster: BrianSlick (7,990)
Welcome to our newest member, sadevb61
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:37 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.