Commit 4b9a9b5a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

- Fixes a segmentation fault in sout_AnnounceSessionDestroy

parent 628f81b3
......@@ -358,7 +358,7 @@ static int Open( vlc_object_t *p_this )
{
if( url.i_port == 0 ) url.i_port = DEFAULT_PORT;
p_session->psz_uri = url.psz_host;
p_session->psz_uri = strdup( url.psz_host );
p_session->i_port = url.i_port;
p_session->psz_sdp = NULL;
......
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