Commit e95b11e2 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

satip: Add missing allocation check

parent ef6a6752
......@@ -632,6 +632,8 @@ static int satip_open(vlc_object_t *obj)
msg_Dbg(access, "try to open '%s'", access->psz_url);
char *psz_host = var_InheritString(access, "satip-host");
if (psz_host == NULL)
return VLC_ENOMEM;
sys->udp_sock = -1;
sys->rtcp_sock = -1;
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