[FFmpeg-cvslog] avformat/avio: fix memory leak in url_find_protocol
Yong Lei
git at videolan.org
Wed May 18 00:53:49 CEST 2016
ffmpeg | branch: master | Yong Lei <leiyong at gmail.com> | Tue May 17 13:21:45 2016 -0700| [7bacf7453665b63ab9e2c496f82e49d9340679ba] | committer: Michael Niedermayer
avformat/avio: fix memory leak in url_find_protocol
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7bacf7453665b63ab9e2c496f82e49d9340679ba
---
libavformat/avio.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/avio.c b/libavformat/avio.c
index 6507593..efde5f3 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -282,6 +282,7 @@ static const struct URLProtocol *url_find_protocol(const char *filename)
return up;
}
}
+ av_freep(&protocols);
return NULL;
}
More information about the ffmpeg-cvslog
mailing list