Commit 40e6d6d1 authored by Rafaël Carré's avatar Rafaël Carré

Partly revert b192dc3c

Those objects and shared library handle are not guaranteed to exist
if the Clean() function is called in Open() error path.
parent 8e141adb
......@@ -99,10 +99,14 @@ vlc_module_end ()
static void Clean( aout_sys_t *p_sys )
{
if( p_sys->playerObject )
Destroy( p_sys->playerObject );
if( p_sys->outputMixObject )
Destroy( p_sys->outputMixObject );
if( p_sys->engineObject )
Destroy( p_sys->engineObject );
if( p_sys->p_so_handle )
dlclose( p_sys->p_so_handle );
free( p_sys );
......
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