Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2013-04-15 20:04:24 +0400
committerClément Bœsch <ubitux@gmail.com>2013-04-15 20:04:35 +0400
commit9ecdd76679e7744b89a9f8548a19b04e694e3e0a (patch)
treec353027ca329602bedd9401366a0e9b986324a0f /libavfilter/vf_curves.c
parentaba678ab9dc650436d5c2c3535adce08aab8ceed (diff)
lavfi/curves: fix memleak after master component dition.
Diffstat (limited to 'libavfilter/vf_curves.c')
-rw-r--r--libavfilter/vf_curves.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_curves.c b/libavfilter/vf_curves.c
index dc012fa626..9f5d8bd166 100644
--- a/libavfilter/vf_curves.c
+++ b/libavfilter/vf_curves.c
@@ -427,7 +427,7 @@ static av_cold int init(AVFilterContext *ctx)
}
}
- for (i = 0; i < NB_COMP; i++) {
+ for (i = 0; i < NB_COMP + 1; i++) {
struct keypoint *point = comp_points[i];
while (point) {
struct keypoint *next = point->next;