diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-08-25 13:36:24 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2015-08-25 13:36:24 +0200 |
commit | 83a508cda5115c61b456aeb227bf770d61010961 (patch) | |
tree | ad90e83baee1f44b1b738c457d90429b3858fcdc | |
parent | d65b9114f35c1afe2a7061f0a1ec957d33ba02b5 (diff) | |
download | ffmpeg-83a508cda5115c61b456aeb227bf770d61010961.tar.gz |
lavf/segment: Fix memleak.
Reviewed-by: Stefano Sabatini
Reviewed-by: Ganesh Ajjanagadde
-rw-r--r-- | libavformat/segment.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/segment.c b/libavformat/segment.c index 0d66211962..9345dc9e37 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) { |