vlc | branch: master | Gleb Pinigin <[email protected]> | Fri May 17 23:13:06 2013 +0700| [15efdb9dd3400aa78e93cdd4eac8ffbfd8e06192] | committer: Jean-Baptiste Kempf
Fix potential crash when sending notification to deallocated object Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=15efdb9dd3400aa78e93cdd4eac8ffbfd8e06192 --- modules/video_output/ios2.m | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/video_output/ios2.m b/modules/video_output/ios2.m index 0774550..9ecc58c 100644 --- a/modules/video_output/ios2.m +++ b/modules/video_output/ios2.m @@ -398,6 +398,7 @@ static void OpenglESSwap(vlc_gl_t *gl) - (void)dealloc { + [[NSNotificationCenter defaultCenter] removeObserver:self]; [_eaglContext release]; [super dealloc]; } _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
