Browse Source

Merge commit 'cffecc0e7ebd642afaa1fb9f56fab1fcc283293c'

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

Conflicts:
	libavfilter/graphparser.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 12 years ago
parent
commit
ec8e68c763
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/graphparser.c

+ 1
- 0
libavfilter/graphparser.c View File

@@ -132,6 +132,7 @@ static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int ind
if (args) if (args)
av_log(log_ctx, AV_LOG_ERROR, " with args '%s'", args); av_log(log_ctx, AV_LOG_ERROR, " with args '%s'", args);
av_log(log_ctx, AV_LOG_ERROR, "\n"); av_log(log_ctx, AV_LOG_ERROR, "\n");
avfilter_free(*filt_ctx);
} }


av_free(tmp_args); av_free(tmp_args);


Loading…
Cancel
Save