Commit bac8d8e5 authored by Clément Stenac's avatar Clément Stenac

Fix crash

parent 08c07754
...@@ -449,7 +449,10 @@ int E_(CDDAOpen)( vlc_object_t *p_this ) ...@@ -449,7 +449,10 @@ int E_(CDDAOpen)( vlc_object_t *p_this )
free( p_cdda ); free( p_cdda );
error2: error2:
free( psz_source ); free( psz_source );
vlc_object_release( p_cdda->p_input ); if( p_cdda && p_cdda->p_input )
{
vlc_object_release( p_cdda->p_input );
}
return i_rc; return i_rc;
} }
......
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