View Full Version : ARC Memory Leak in 5.1 only?

Mar 31, 2012, 02:09 PM
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.


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


If this is a bug with 5.1 do I still submit my app knowing it has a leak that I can not fix?

Mar 31, 2012, 06:04 PM
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.

Mar 31, 2012, 07:13 PM
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.

Apr 1, 2012, 09:51 AM
This issue has also been discussed in the Apple iOS forum.

Type this in Terminal, or google it

man strdup