diff options
Diffstat (limited to 'libavformat/wtvdec.c')
-rw-r--r-- | libavformat/wtvdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c index 3ac4501306..27be5c9c04 100644 --- a/libavformat/wtvdec.c +++ b/libavformat/wtvdec.c @@ -305,7 +305,7 @@ static void wtvfile_close(AVIOContext *pb) av_freep(&wf->sectors); av_freep(&pb->opaque); av_freep(&pb->buffer); - av_free(pb); + avio_context_free(&pb); } /* |