mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +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;
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user