aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2015-08-25 13:36:24 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2015-08-25 13:36:24 +0200
commit83a508cda5115c61b456aeb227bf770d61010961 (patch)
treead90e83baee1f44b1b738c457d90429b3858fcdc
parentd65b9114f35c1afe2a7061f0a1ec957d33ba02b5 (diff)
downloadffmpeg-83a508cda5115c61b456aeb227bf770d61010961.tar.gz
lavf/segment: Fix memleak.
Reviewed-by: Stefano Sabatini Reviewed-by: Ganesh Ajjanagadde
-rw-r--r--libavformat/segment.c1
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) {