mirror of https://code.videolan.org/videolan/vlc
srt: Fix missing srt_cleanup on error path
(cherry picked from commit 52e3f716bc
) (rebased)
rebased:
* 3.0 is freeing psz_host
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
This commit is contained in:
parent
2534aa80b5
commit
e010ae8e47
|
@ -399,6 +399,7 @@ failed:
|
|||
|
||||
if ( p_sys->sock != -1 ) srt_close( p_sys->sock );
|
||||
if ( p_sys->i_poll_id != -1 ) srt_epoll_release( p_sys->i_poll_id );
|
||||
srt_cleanup();
|
||||
|
||||
free( p_sys->psz_host );
|
||||
|
||||
|
|
Loading…
Reference in New Issue