1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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