On Thu, 16 May 2013, Anton Khirnov wrote:
Do not leak the expressions. --- libavfilter/vf_lut.c | 2 ++ 1 file changed, 2 insertions(+)diff --git a/libavfilter/vf_lut.c b/libavfilter/vf_lut.c index 263bd53..348ef32 100644 --- a/libavfilter/vf_lut.c +++ b/libavfilter/vf_lut.c @@ -245,6 +245,8 @@ static int config_props(AVFilterLink *inlink) double res; /* create the parsed expression */ + av_expr_free(s->comp_expr[comp]); + s->comp_expr[comp] = NULL; ret = av_expr_parse(&s->comp_expr[comp], s->comp_expr_str[comp], var_names, funcs1_names, funcs1, NULL, NULL, 0, ctx); if (ret < 0) { -- 1.7.10.4
Ok // Martin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
