Browse Source

lavf/wtvenc: fix s[tp]_pairs memleak.

tags/n1.1
Clément Bœsch 13 years ago
parent
commit
41ebbb3b04
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavformat/wtvenc.c

+ 3
- 0
libavformat/wtvenc.c View File

@@ -730,6 +730,9 @@ static int write_trailer(AVFormatContext *s)
avio_wl32(pb, file_end_pos >> WTV_SECTOR_BITS);

avio_flush(pb);

av_free(wctx->sp_pairs);
av_free(wctx->st_pairs);
return 0;
}



Loading…
Cancel
Save