Commit ec8e68c7 authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'cffecc0e'

* commit 'cffecc0e':
  avfilter/graphparser: Directly free filter memory if initialization fails

Conflicts:
	libavfilter/graphparser.c
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 7c02a77d cffecc0e
......@@ -132,6 +132,7 @@ static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int ind
if (args)
av_log(log_ctx, AV_LOG_ERROR, " with args '%s'", args);
av_log(log_ctx, AV_LOG_ERROR, "\n");
avfilter_free(*filt_ctx);
}
av_free(tmp_args);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment