diff options
author | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-10-13 12:17:37 +0000 |
---|---|---|
committer | nplourde <nplourde@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-10-13 12:17:37 +0000 |
commit | ffd9171d01c99eff2e4686ece5c55d398e806fa0 (patch) | |
tree | 0c94482d8f2658af0e107fdd914dfa8bb5866aba | |
parent | 38920cc4d15c7c290903d3b25b3a5d4f16074b1f (diff) | |
download | mpv-ffd9171d01c99eff2e4686ece5c55d398e806fa0.tar.bz2 mpv-ffd9171d01c99eff2e4686ece5c55d398e806fa0.tar.xz |
Fix deallocate bug which sometimes causes a crash when reinitializing.
patch by Ulion, ulion2002 gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24770 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libvo/vo_macosx.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_macosx.m b/libvo/vo_macosx.m index 7290ea4374..f175403dfb 100644 --- a/libvo/vo_macosx.m +++ b/libvo/vo_macosx.m @@ -247,6 +247,7 @@ static void uninit(void) if(mpGLView) { + mpGLView = nil; [autoreleasepool release]; } } |