This, rightly, warns of a leak: MPMoviePlayerViewController* mpvc = [[MPMoviePlayerViewController alloc] initWithContentURL:urlurl];
This does not: MPMoviePlayerViewController* mpvc = [[MPMoviePlayerViewController alloc] initWithContentURL:urlurl]; [self presentMoviePlayerViewControllerAnimated:mpvc]; m. -- matt neuburg, phd = m...@tidbits.com, <http://www.tidbits.com/matt/> A fool + a tool + an autorelease pool = cool! AppleScript: the Definitive Guide - Second Edition! http://www.tidbits.com/matt/default.html#applescriptthings _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com