Commit be502ec6 authored by enctac's avatar enctac Committed by Kyle Swanson

vf_libvmaf: Fix memory leak

Fixes ticket #6967
parent 35eeff30
...@@ -130,6 +130,8 @@ FRAMESYNC_DEFINE_CLASS(libvmaf, LIBVMAFContext, fs); ...@@ -130,6 +130,8 @@ FRAMESYNC_DEFINE_CLASS(libvmaf, LIBVMAFContext, fs);
\ \
ret = !s->frame_set; \ ret = !s->frame_set; \
\ \
av_frame_unref(s->gref); \
av_frame_unref(s->gmain); \
s->frame_set = 0; \ s->frame_set = 0; \
\ \
pthread_cond_signal(&s->cond); \ pthread_cond_signal(&s->cond); \
......
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