title: memory leak in AudioToolbox library AVAudioPlayer
body: <p>Is there a memory lead issue with the AVAudioPlayer object? I'm getting a memory leak when using AVAudioPlayer in the simulator. It doesn't matter how I created the AVAudioPlayer. I've used <code>initWithContentsOfURL</code> and <code>InitWithData</code>. Below is a snippet of the code. Full project @ Github <a href="https://github.com/docchang/MemoryLeakAVAudioPlayer" rel="nofollow">https://github.com/docchang/MemoryLeakAVAudioPlayer</a></p>
  
  <pre><code>NSError *error;
  NSURL *playerURL = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"Bell" ofType:@"m4a"]];   
  self.playerWithURL = [[AVAudioPlayer alloc] initWithContentsOfURL:playerURL error:&amp;error];
  if (!playerWithURL) {
      NSLog(@"no %@.%@: %@",@"Introduction2", @"m4a", [error localizedDescription]);  
  }
  playerWithURL.volume = 0.9f;
  playerWithURL.numberOfLoops = 0;
  [playerWithURL play];
  </code></pre>
  
  <p>However there is no memory leak when testing it on the device. This issue is starting to leaning towards issue with the AudioToolBox library, but just want to confirm it with stackoverflow folks.</p>