summaryrefslogtreecommitdiff
path: root/libavfilter/avfilter.c
diff options
context:
space:
mode:
authorMark Thompson <mrt@jkqxz.net>2016-02-25 00:21:40 +0000
committerAnton Khirnov <anton@khirnov.net>2016-03-19 15:41:04 +0100
commit07a844f32ebb78503981df017fa3ebfedb75fe1c (patch)
treee1d7563f0711cff1109b50820ee298eba5f381d5 /libavfilter/avfilter.c
parent551c6775abb5e0ad34c26d7e23bc6fbbe8ccc9d4 (diff)
lavfi: generic hardware surface upload and download filters
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavfilter/avfilter.c')
-rw-r--r--libavfilter/avfilter.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c
index 8eefc512c0..190d8ab03c 100644
--- a/libavfilter/avfilter.c
+++ b/libavfilter/avfilter.c
@@ -525,6 +525,8 @@ void avfilter_free(AVFilterContext *filter)
if (filter->filter->priv_class)
av_opt_free(filter->priv);
+ av_buffer_unref(&filter->hw_device_ctx);
+
av_freep(&filter->name);
av_freep(&filter->input_pads);
av_freep(&filter->output_pads);