Commit abd49a75 authored by Marton Balint's avatar Marton Balint

ffplay: always free inputs and outputs in configure_filtergraph

Fixes Coverity CID 733791.
Signed-off-by: 's avatarMarton Balint <cus@passwd.hu>
parent 65f6c42a
...@@ -1681,7 +1681,7 @@ static int configure_filtergraph(AVFilterGraph *graph, const char *filtergraph, ...@@ -1681,7 +1681,7 @@ static int configure_filtergraph(AVFilterGraph *graph, const char *filtergraph,
goto fail; goto fail;
} }
return avfilter_graph_config(graph, NULL); ret = avfilter_graph_config(graph, NULL);
fail: fail:
avfilter_inout_free(&outputs); avfilter_inout_free(&outputs);
avfilter_inout_free(&inputs); avfilter_inout_free(&inputs);
......
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