Explorar o código

libvlc_release() has only 1 parameter

Rafaël Carré %!s(int64=17) %!d(string=hai) anos
pai
achega
87468feaf5
Modificáronse 1 ficheiros con 1 adicións e 7 borrados
  1. 1 7
      Sources/VLCLibrary.m

+ 1 - 7
Sources/VLCLibrary.m

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