mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 13:40:55 +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:
parent
bb4c18881a
commit
742b660eb7
@ -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…
Reference in New Issue
Block a user