Commit 873ae30a authored by Rafaël Carré's avatar Rafaël Carré

libvlc_release() has only 1 parameter

parent 2bd0742c
...@@ -98,13 +98,7 @@ static void * DestroySharedLibraryAtExit( void ) ...@@ -98,13 +98,7 @@ static void * DestroySharedLibraryAtExit( void )
- (void)dealloc - (void)dealloc
{ {
if( instance ) if( instance )
{ libvlc_release( instance );
libvlc_exception_t ex;
libvlc_exception_init( &ex );
libvlc_release( instance, &ex );
libvlc_exception_clear( &ex );
}
if( self == sharedLibrary ) if( self == sharedLibrary )
sharedLibrary = nil; sharedLibrary = nil;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment