Skip to content
Snippets Groups Projects
Commit e010ae8e authored by Zhao Zhili's avatar Zhao Zhili Committed by Hugo Beauzée-Luyssen
Browse files

srt: Fix missing srt_cleanup on error path


(cherry picked from commit 52e3f716) (rebased)
rebased:
* 3.0 is freeing psz_host

Signed-off-by: default avatarSteve Lhomme <robux4@ycbcr.xyz>
parent 2534aa80
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
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