Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-04-24 01:27:16 +0400
committerNicolas George <nicolas.george@normalesup.org>2012-04-24 01:36:33 +0400
commit2e8f19d26f3ef7e804a7f9f9811e4b538e0a5969 (patch)
treeb3e52f70ff447b70642def1344d3389a4e026e50 /libavfilter/avfiltergraph.c
parentc799e462317be4c1cac6c2c3c82dd13e7ff9ad0f (diff)
avfiltergraph: free the sink_links heap.
Diffstat (limited to 'libavfilter/avfiltergraph.c')
-rw-r--r--libavfilter/avfiltergraph.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c
index ef597ddf7f..23d40425f0 100644
--- a/libavfilter/avfiltergraph.c
+++ b/libavfilter/avfiltergraph.c
@@ -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);