Commit 465627ab authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fix remotely triggerable memory leak

parent 0d91bee0
...@@ -1176,7 +1176,7 @@ static sdp_t *ParseSDP (vlc_object_t *p_obj, const char *psz_sdp) ...@@ -1176,7 +1176,7 @@ static sdp_t *ParseSDP (vlc_object_t *p_obj, const char *psz_sdp)
case( 'c' ): case( 'c' ):
{ {
if( p_sdp->i_media > 1 ) if( p_sdp->psz_connection != NULL ) // FIXME
break; break;
p_sdp->psz_connection = strdup( &psz_sdp[2] ); p_sdp->psz_connection = strdup( &psz_sdp[2] );
......
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