changeset 24742:0bef706332b5

Fix deallocate bug which sometimes causes a crash when reinitializing. patch by Ulion, ulion2002 gmail com
author nplourde
date Sat, 13 Oct 2007 12:17:37 +0000
parents 5ce7bc88eb0c
children acb856c03bd8
files libvo/vo_macosx.m
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_macosx.m	Sat Oct 13 12:14:24 2007 +0000
+++ b/libvo/vo_macosx.m	Sat Oct 13 12:17:37 2007 +0000
@@ -247,6 +247,7 @@
     
     if(mpGLView)
     {
+        mpGLView = nil;
         [autoreleasepool release];
     }
 }