Showing the changes to libavfilter/avfiltergraph.c (1 of 1 file). Show all
Unified · Split
| @@ -130,8 +130,8 @@ void avfilter_graph_free(AVFilterGraph **graph) · 129 unmodified lines | ||
| 130 | 130 | |
| 131 | 131 | av_freep(&(*graph)->sink_links); |
| 132 | 132 | |
| 133 | − av_freep(&(*graph)->scale_sws_opts); | |
| 134 | − av_freep(&(*graph)->aresample_swr_opts); | |
| 133 | + av_opt_free(*graph); | |
| 134 | + | |
| 135 | 135 | av_freep(&(*graph)->filters); |
| 136 | 136 | av_freep(&(*graph)->internal); |
| 137 | 137 | av_freep(graph); |