Commit dbf26164 authored by Rémi Duraffort's avatar Rémi Duraffort

sap: fix potential memory leak (cid #1048940)

parent c8f1ef47
......@@ -1251,7 +1251,7 @@ static sdp_t *ParseSDP (vlc_object_t *p_obj, const char *psz_sdp)
{
msg_Dbg (p_obj, "SDP origin not supported: %s", data);
/* Or maybe out-of-range, but this looks suspicious */
return NULL;
goto error;
}
EnsureUTF8 (p_sdp->orig_host);
break;
......
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