aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasa Utashiro <rollingcam@hotmail.co.jp>2014-05-16 06:31:56 +0200
committerClément Bœsch <u@pkh.me>2014-05-16 06:32:26 +0200
commit491d602283cdde8cf8623fbacf55066551c57ae3 (patch)
tree514593749da294be21dee493a72155bf4457df8b
parenta9bf713d350a07edd17bd0cc88df92261cda79f2 (diff)
downloadffmpeg-491d602283cdde8cf8623fbacf55066551c57ae3.tar.gz
avfilter/vignette: fix input frame memory leak.
Fixes Ticket #3642.
-rw-r--r--libavfilter/vf_vignette.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_vignette.c b/libavfilter/vf_vignette.c
index 8ce7b7e6c3..420e7331dc 100644
--- a/libavfilter/vf_vignette.c
+++ b/libavfilter/vf_vignette.c
@@ -268,6 +268,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
}
}
+ av_frame_free(&in);
return ff_filter_frame(outlink, out);
}