Commit 982c2aea authored by Laurent Aimar's avatar Laurent Aimar

Fixed a double free when av_open_input_stream() fails.

parent 0c4a828d
......@@ -233,6 +233,7 @@ int OpenDemux( vlc_object_t *p_this )
p_sys->fmt, NULL ) )
{
msg_Err( p_demux, "av_open_input_stream failed" );
p_sys->ic = NULL;
free( psz_url );
CloseDemux( p_this );
return VLC_EGENERIC;
......
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