Another static analyzer mistake
Another static analyzer mistake
- Subject: Another static analyzer mistake
- From: Matt Neuburg <email@hidden>
- Date: Mon, 12 Jul 2010 17:15:23 -0700
- Thread-topic: Another static analyzer mistake
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 = email@hidden, <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 (email@hidden)
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:
This email sent to email@hidden