Re: Memory leak when using new MPMoviePlayerController notifications

2010-08-29 Thread Graham Cox
On 28/08/2010, at 11:11 PM, Michael Crawford wrote: > My question is this: is my technique for releasing the only reference I have > to the movie controller, which is the notification object, valid? NOTE: This > is the new 3.2 SDK movie player controller. > > - (BOOL)application:(UIApplicatio

Memory leak when using new MPMoviePlayerController notifications

2010-08-28 Thread Michael Crawford
Instruments is saying I have a leak from playing my intro movie. When I click on the stack trace it brings me to the second piece of code (-[moviePlaybackDidFinish:]), which is called as a consequence of the notification handler setup in the first piece of code (-[application:didFinishLaunchi