Apple's Sample App TopSongs has 26 Leaks, Ugh!

Posted by RoLYroLLs on Stack Overflow See other posts from Stack Overflow or by RoLYroLLs
Published on 2010-03-08T21:56:58Z Indexed on 2010/04/21 17:43 UTC
Read the original article Hit count: 342

Filed under:
|
|
|

Hey all, I've been building an app for a client and part of it uses Apple's TopSongs sample app to download data on another thread. I finally got enough done to start testing that part and found >1000 leaks!!! A closer look at the leaks made me check TopSongs for leaks, since none of the my methods were in leaks report. Running TopSongs returned 26 leaks. Not quite sure how to fix them, or if they are part of some library from Apple.

I bet you're asking if it has 26, why do you have >1000? Well, I use their sample to make roughly 48 calls to webservices to get all the information needed on initial install (48 calls x 26 leaks = 1248 leaks!!). Later it makes at least 12 calls + 4 to check for updated information on other sections of the app. Can't do a thing about it, can't make one call, or less calls, please don't comment about this part. I seen people respond to posts that aren't necessarily answering the question the user originally posted, which in this case is has anyone tried patching up the leaks, if they are patchable, or is this a bug in Apple's libraries?

Thanks so much.

© Stack Overflow or respective owner

Related posts about memory-leaks

Related posts about leak