Commit 7e8721e9 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/af_acrossover: free all output frames on error

parent cd671ea0
......@@ -303,6 +303,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
}
fail:
for (i = 0; i < ctx->nb_outputs; i++)
av_frame_free(&frames[i]);
av_frame_free(&in);
s->input_frame = NULL;
......
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