ffmpeg | branch: master | Yong Lei <leiy...@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 <mich...@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; } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog