mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-07-12 10:35:45 +00: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