diff options
author | James Almer <jamrial@gmail.com> | 2018-04-18 21:32:10 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2018-04-19 04:45:09 +0300 |
commit | 5079e96bcc7aaa9cae82a58397ce986e124028e4 (patch) | |
tree | bb56bf5a7f96be44536cae9b0d97b671c2305bd1 /libavdevice/iec61883.c | |
parent | b8629654c6460a28c507f816a977914e3a6f2520 (diff) |
avdevice/iec61883: free the private context at the end
Fixes part of ticket #7146.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavdevice/iec61883.c')
-rw-r--r-- | libavdevice/iec61883.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/iec61883.c b/libavdevice/iec61883.c index b09929eb56..dcf7553926 100644 --- a/libavdevice/iec61883.c +++ b/libavdevice/iec61883.c @@ -463,6 +463,7 @@ static int iec61883_close(AVFormatContext *context) } else { iec61883_dv_fb_stop(dv->iec61883_dv); iec61883_dv_fb_close(dv->iec61883_dv); + av_freep(&dv->dv_demux); } while (dv->queue_first) { DVPacket *packet = dv->queue_first; |