From: Zhao Zhili <zhiliz...@tencent.com>

Signed-off-by: Zhao Zhili <zhiliz...@tencent.com>
---
 libavformat/libsrt.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c
index 56acb6e741..a1d732f841 100644
--- a/libavformat/libsrt.c
+++ b/libavformat/libsrt.c
@@ -674,9 +674,6 @@ static int libsrt_open(URLContext *h, const char *uri, int 
flags)
     return 0;
 
 err:
-    av_freep(&s->smoother);
-    av_freep(&s->streamid);
-    av_freep(&s->passphrase);
     srt_cleanup();
     return ret;
 }
-- 
2.42.0

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to