[FFmpeg-cvslog] lavf/segment: Fix memleak.
Carl Eugen Hoyos
git at videolan.org
Tue Aug 25 13:37:43 CEST 2015
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Aug 25 13:36:24 2015 +0200| [83a508cda5115c61b456aeb227bf770d61010961] | committer: Carl Eugen Hoyos
lavf/segment: Fix memleak.
Reviewed-by: Stefano Sabatini
Reviewed-by: Ganesh Ajjanagadde
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=83a508cda5115c61b456aeb227bf770d61010961
---
libavformat/segment.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 0d66211..9345dc9 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -876,6 +876,7 @@ fail:
av_opt_free(seg);
av_freep(&seg->times);
av_freep(&seg->frames);
+ av_freep(&seg->cur_entry.filename);
cur = seg->segment_list_entries;
while (cur) {
More information about the ffmpeg-cvslog
mailing list