Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

larswik

macrumors 68000
Original poster
Sep 8, 2006
1,552
11
I am testing my finished app now to see how well it works before I try and submit my first app. While testing I discovered a memory leak that seemed to be attached to a UIScrollView and gesturing to swipe photos side to side.The odd thing is that it works fine in the simulator for 4.3 and 5.0 but in 5.1 it leaks.

I did some research on the web and found other people are having the same problem, this one is the exact problem I am having.

http://stackoverflow.com/questions/9762995/memory-leak-every-time-uiscrollview-is-released

I also discovered a person who submitted a bug report because it was happening to him too.

http://openradar.appspot.com/11081198

If this is a bug with 5.1 do I still submit my app knowing it has a leak that I can not fix?
 
It seems that the leak in strdup is a system bug so there's nothing you can do about it except file a bug report. Don't let it stop you from submitting your app.
 
Thanks! I looked all last night for an answer till I came across those posts. Normally I can track down my bugs but this one I had no idea what "strdup" was.

Thank you.
 
This issue has also been discussed in the Apple iOS forum.

Type this in Terminal, or google it

man strdup
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.