summaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 83471e9cb3..5e20a5c3f9 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -3682,8 +3682,6 @@ static int mov_write_trailer(AVFormatContext *s)
}
- avio_flush(pb);
-
av_freep(&mov->tracks);
return res;