]> git.sesse.net Git - vlc/commitdiff
libvlc_release() has only 1 parameter
authorRafaël Carré <funman@videolan.org>
Mon, 28 Jan 2008 16:55:00 +0000 (16:55 +0000)
committerRafaël Carré <funman@videolan.org>
Mon, 28 Jan 2008 16:55:00 +0000 (16:55 +0000)
extras/MacOSX/Framework/Sources/VLCLibrary.m

index a8c12741b1cb66905d0c6c5abdb93418b8eb8159..658690d1d6708b71011c09866325e266ca573273 100644 (file)
@@ -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;