This is a little bug in the AVFoundation framework. When using the AVAudioPlayer in
It is a pain whenever you do most of your testing on the desktop during development and then start testing on device after you have a working app. So just remember if you are using AVAudioPlayer on the iOS Simulator and you are getting memory leaks that look like this:

Look at the type of leaks. note the responsible library is AudioToolbox not even AVFoundation, go ahead and profile it on a device and see if the leaks go away. If they don’t, then it’s something that you need to fix in your code, if they do then you are good to go.