Browse Source

lavfi/curves: fix memleak after master component dition.

tags/n2.0
Clément Bœsch 12 years ago
parent
commit
9ecdd76679
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_curves.c

+ 1
- 1
libavfilter/vf_curves.c 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;


Loading…
Cancel
Save