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:
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];
|
||||
while (point) {
|
||||
struct keypoint *next = point->next;
|
||||
|
Loading…
Reference in New Issue
Block a user