mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-06-16 04:32:47 +02:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user