mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-25 04:30:02 +00:00
avfiltergraph: free the sink_links heap.
This commit is contained in:
parent
c799e46231
commit
2e8f19d26f
@ -55,6 +55,7 @@ void avfilter_graph_free(AVFilterGraph **graph)
|
||||
return;
|
||||
for (; (*graph)->filter_count > 0; (*graph)->filter_count--)
|
||||
avfilter_free((*graph)->filters[(*graph)->filter_count - 1]);
|
||||
av_freep(&(*graph)->sink_links);
|
||||
av_freep(&(*graph)->scale_sws_opts);
|
||||
av_freep(&(*graph)->filters);
|
||||
av_freep(graph);
|
||||
|
Loading…
Reference in New Issue
Block a user