Commit 8844919a authored by Laurent Aimar's avatar Laurent Aimar
Browse files

Fixed a small memleak in bda.

parent 94553652
...@@ -420,10 +420,15 @@ static int Open( vlc_object_t *p_this ) ...@@ -420,10 +420,15 @@ static int Open( vlc_object_t *p_this )
} }
if( !i_ret ) if( !i_ret )
{
free( p_access->psz_demux );
p_access->psz_demux = strdup( "ts" ); p_access->psz_demux = strdup( "ts" );
}
else else
{
msg_Warn( p_access, "DVB_Open: Unsupported Network %s", msg_Warn( p_access, "DVB_Open: Unsupported Network %s",
p_access->psz_access); p_access->psz_access);
}
return i_ret; return i_ret;
} }
......
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