[vlc-commits] srt: remove redundant code
Rémi Denis-Courmont
git at videolan.org
Mon Jul 2 20:52:18 CEST 2018
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Jul 1 21:37:10 2018 +0300| [198f754d838788a43885b0d30c1092a00747f94f] | committer: Rémi Denis-Courmont
srt: remove redundant code
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=198f754d838788a43885b0d30c1092a00747f94f
---
modules/access/srt.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/modules/access/srt.c b/modules/access/srt.c
index 92fb957fca..a7ac7e0585 100644
--- a/modules/access/srt.c
+++ b/modules/access/srt.c
@@ -351,9 +351,6 @@ failed:
if ( p_sys->i_poll_id != -1 ) srt_epoll_release( p_sys->i_poll_id );
free( p_sys->psz_host );
-
- vlc_obj_free( p_this, p_sys );
- p_stream->p_sys = NULL;
}
return VLC_EGENERIC;
@@ -373,9 +370,6 @@ static void Close(vlc_object_t *p_this)
srt_epoll_release( p_sys->i_poll_id );
free( p_sys->psz_host );
-
- vlc_obj_free( p_this, p_sys );
- p_stream->p_sys = NULL;
}
srt_cleanup();
More information about the vlc-commits
mailing list