[FFmpeg-cvslog] lavfi/curves: fix memleak after master component dition.
Clément Bœsch
git at videolan.org
Mon Apr 15 18:04:47 CEST 2013
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Mon Apr 15 18:04:24 2013 +0200| [9ecdd76679e7744b89a9f8548a19b04e694e3e0a] | committer: Clément Bœsch
lavfi/curves: fix memleak after master component dition.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9ecdd76679e7744b89a9f8548a19b04e694e3e0a
---
libavfilter/vf_curves.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavfilter/vf_curves.c b/libavfilter/vf_curves.c
index dc012fa..9f5d8bd 100644
--- a/libavfilter/vf_curves.c
+++ b/libavfilter/vf_curves.c
@@ -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;
More information about the ffmpeg-cvslog
mailing list