Browse Source

wtvdec: fix a few memleaks as show by valgrind with the FATE test.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
tags/n0.10
Reimar Döffinger 14 years ago
parent
commit
742b660eb7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/wtvdec.c

+ 2
- 0
libavformat/wtvdec.c View File

@@ -287,6 +287,8 @@ static void wtvfile_close(AVIOContext *pb)
{
WtvFile *wf = pb->opaque;
av_free(wf->sectors);
av_freep(&pb->opaque);
av_freep(&pb->buffer);
av_free(pb);
}



Loading…
Cancel
Save