aboutsummaryrefslogtreecommitdiffstats
path: root/libavdevice
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-04-18 15:32:10 -0300
committerJames Almer <jamrial@gmail.com>2018-04-18 23:01:33 -0300
commit27fc118d1c7991ec0231205a40f805d960f6e23b (patch)
tree07a0d7be7bce2531c486879576265700355fe27b /libavdevice
parent53803ef71c7958d56d378b1486bfe0b077bb8958 (diff)
downloadffmpeg-27fc118d1c7991ec0231205a40f805d960f6e23b.tar.gz
avdevice/iec61883: free the private context at the end
Fixes part of ticket #7146. Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit 5079e96bcc7aaa9cae82a58397ce986e124028e4)
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/iec61883.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/iec61883.c b/libavdevice/iec61883.c
index aeca7616df..382b989fb1 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;