Merge commit '07a844f32ebb78503981df017fa3ebfedb75fe1c'
[ffmpeg.git] / libavfilter / avfilter.c
index 3a2a6c2..21f8d9e 100644 (file)
@@ -762,6 +762,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);