So I have a QTMovieLayer which plays a QTMovie. QTMovie* movie = [QTMovie movieWithFileName:fileName]; QTMovieLayer* movieLayer = [[QTMovieLayer layerWithMovie:movie]; [superlayer addSublayers:movieLayer];
The user may or may not view the entire movie. If the user desires to stop the movie, I do this: [[movieLayer movie] stop]; [movieLayer removeFromSuperlayer]; [movieLayer release]; This should cause the memory to be free, but it Leaks and Object Allocation tool shows the memory as leaked. Any idea? _______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
