Browse Source

nutenc: fix a memleak

This fixes a minor memory leak introduced in 073f8b1.

Signed-off-by: Mans Rullgard <mans@mansr.com>
tags/n0.8
Anton Khirnov Mans Rullgard 15 years ago
parent
commit
2cface71ca
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/nutenc.c

+ 1
- 0
libavformat/nutenc.c View File

@@ -846,6 +846,7 @@ static int write_trailer(AVFormatContext *s){
avio_flush(bc);
ff_nut_free_sp(nut);
av_freep(&nut->stream);
av_freep(&nut->chapter);
av_freep(&nut->time_base);

return 0;


Loading…
Cancel
Save