Commit 83a508cd authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

lavf/segment: Fix memleak.

Reviewed-by: Stefano Sabatini
Reviewed-by: Ganesh Ajjanagadde
parent d65b9114
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment