lavfi/curves: fix memleak after master component dition.
This commit is contained in:
parent
aba678ab9d
commit
9ecdd76679
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user