smartnsoft/ios4me — pull request #13 by lifely (2012-08-07 16:02:23+00:00)
Title: SnS smartPlayer - Leak erased

One leak was still there, the smartPlayer wasn't dealloc at all!
Which is very very bad considering everything that was retain in there !

The bad guys is AVPlayer and addPeriodicTimeObserver and it's block, if you use something on his block it'll be retain until you do a removeTimeObserver.

removeTimeObserver should be done un dealloc, so the user of the smartPayer have nothing to do, just release the object.

It's an strange behavior...