瀏覽代碼

libvlc_release() has only 1 parameter

Rafaël Carré 17 年之前
父節點
當前提交
87468feaf5
共有 1 個文件被更改,包括 1 次插入7 次删除
  1. 1 7
      Sources/VLCLibrary.m

+ 1 - 7
Sources/VLCLibrary.m

@@ -98,13 +98,7 @@ static void * DestroySharedLibraryAtExit( void )
 - (void)dealloc 
 - (void)dealloc 
 {
 {
     if( instance ) 
     if( instance ) 
-    {
-        libvlc_exception_t ex;
-        libvlc_exception_init( &ex );
-        
-        libvlc_release( instance, &ex );
-        libvlc_exception_clear( &ex );
-    }
+        libvlc_release( instance );
     
     
     if( self == sharedLibrary ) 
     if( self == sharedLibrary ) 
         sharedLibrary = nil;
         sharedLibrary = nil;