diff options
Diffstat (limited to 'video/filter/vf_vapoursynth.c')
-rw-r--r-- | video/filter/vf_vapoursynth.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/video/filter/vf_vapoursynth.c b/video/filter/vf_vapoursynth.c index d9a0febc76..ccec2662cc 100644 --- a/video/filter/vf_vapoursynth.c +++ b/video/filter/vf_vapoursynth.c @@ -175,8 +175,10 @@ static int filter_ext(struct vf_instance *vf, struct mp_image *mpi) struct vf_priv_s *p = vf->priv; int ret = 0; - if (!p->out_node) + if (!p->out_node) { + talloc_free(mpi); return -1; + } if (!mpi) return 0; |