Commit 742b660e authored by Reimar Döffinger's avatar Reimar Döffinger

wtvdec: fix a few memleaks as show by valgrind with the FATE test.

Signed-off-by: 's avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
parent bb4c1888
...@@ -287,6 +287,8 @@ static void wtvfile_close(AVIOContext *pb) ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment