lavfi/curves: fix memleak after master component dition.

This commit is contained in:
Clément Bœsch 2013-04-15 18:04:24 +02:00
parent aba678ab9d
commit 9ecdd76679

View File

@ -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]; struct keypoint *point = comp_points[i];
while (point) { while (point) {
struct keypoint *next = point->next; struct keypoint *next = point->next;