diff options
author | enctac <enctac-at-yahoo.co.jp@ffmpeg.org> | 2018-03-26 01:44:49 +0900 |
---|---|---|
committer | Kyle Swanson <kswanson@netflix.com> | 2018-03-31 20:58:09 -0700 |
commit | be502ec6cde004e1fa05643282939bf3a1507922 (patch) | |
tree | 3210e4ce31955216b55debde05f919bbd1ba10b9 /libavfilter | |
parent | 35eeff30caf34df835206f1c12bcf4b7c2bd6758 (diff) | |
download | ffmpeg-streaming-be502ec6cde004e1fa05643282939bf3a1507922.zip ffmpeg-streaming-be502ec6cde004e1fa05643282939bf3a1507922.tar.gz |
vf_libvmaf: Fix memory leak
Fixes ticket #6967
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_libvmaf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/vf_libvmaf.c b/libavfilter/vf_libvmaf.c index dfe474c..42c6b66 100644 --- a/libavfilter/vf_libvmaf.c +++ b/libavfilter/vf_libvmaf.c @@ -130,6 +130,8 @@ FRAMESYNC_DEFINE_CLASS(libvmaf, LIBVMAFContext, fs); \ ret = !s->frame_set; \ \ + av_frame_unref(s->gref); \ + av_frame_unref(s->gmain); \ s->frame_set = 0; \ \ pthread_cond_signal(&s->cond); \ |