Showing the changes to libavfilter/graphparser.c (1 of 1 file). Show all
Unified · Split
| @@ -130,6 +130,7 @@ static int create_filter(AVFilterContext **filt_ctx, AVFilterGraph *ctx, int ind · 129 unmodified lines | ||
| 130 | 130 | if (args) |
| 131 | 131 | av_log(log_ctx, AV_LOG_ERROR, " with args '%s'", args); |
| 132 | 132 | av_log(log_ctx, AV_LOG_ERROR, "\n"); |
| 133 | + avfilter_free(*filt_ctx); | |
| 133 | 134 | return ret; |
| 134 | 135 | } |
| 135 | 136 | |