Skip to content
Snippets Groups Projects
Commit 854cd9e5 authored by Lyndon Brown's avatar Lyndon Brown Committed by Jean-Baptiste Kempf
Browse files

rd: fix invalid free

parent 8f8f1fd0
No related branches found
No related tags found
1 merge request!1091rd: fix invalid free
Pipeline #175401 passed with stage
in 13 minutes and 8 seconds
......@@ -86,7 +86,10 @@ vlc_renderer_item_new(const char *psz_type, const char *psz_name,
url.psz_protocol, url.psz_host, url.i_port,
psz_extra_sout != NULL ? "," : "",
psz_extra_sout != NULL ? psz_extra_sout : "") == -1)
{
p_item->psz_sout = NULL;
goto error;
}
if (psz_icon_uri && (p_item->psz_icon_uri = strdup(psz_icon_uri)) == NULL)
goto error;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment