Browse Source

chromecast: descriptor leak

pull/24/head
Rémi Denis-Courmont 12 years ago
parent
commit
8a3c4f91d8
  1. 3
      modules/stream_out/chromecast/cast.cpp

3
modules/stream_out/chromecast/cast.cpp

@ -378,7 +378,10 @@ static int connectChromecast(sout_stream_t *p_stream, char *psz_ipChromecast)
p_sys->p_creds = vlc_tls_ClientCreate(VLC_OBJECT(p_stream));
if (p_sys->p_creds == NULL)
{
net_Close(fd);
return -1;
}
p_sys->p_tls = vlc_tls_ClientSessionCreate(p_sys->p_creds, fd, psz_ipChromecast,
"tcps", NULL, NULL);

Loading…
Cancel
Save