wtvdec: fix a few memleaks as show by valgrind with the FATE test.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
This commit is contained in:
parent
bb4c18881a
commit
742b660eb7
@ -287,6 +287,8 @@ static void wtvfile_close(AVIOContext *pb)
|
|||||||
{
|
{
|
||||||
WtvFile *wf = pb->opaque;
|
WtvFile *wf = pb->opaque;
|
||||||
av_free(wf->sectors);
|
av_free(wf->sectors);
|
||||||
|
av_freep(&pb->opaque);
|
||||||
|
av_freep(&pb->buffer);
|
||||||
av_free(pb);
|
av_free(pb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user