From: Limin Wang <lance.lmw...@gmail.com>

Signed-off-by: Limin Wang <lance.lmw...@gmail.com>
---
 libavformat/concat.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/concat.c b/libavformat/concat.c
index ea3bc1dfde..cfe14760eb 100644
--- a/libavformat/concat.c
+++ b/libavformat/concat.c
@@ -75,7 +75,6 @@ static av_cold int concat_open(URLContext *h, const char 
*uri, int flags)
         if (uri[i] == *AV_CAT_SEPARATOR) {
             /* integer overflow */
             if (++len == UINT_MAX / sizeof(*nodes)) {
-                av_freep(&h->priv_data);
                 return AVERROR(ENAMETOOLONG);
             }
         }
-- 
2.21.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