Showing the changes to libavfilter/avfilter.c (1 of 8 files). Show all
Unified · Split
| @@ -525,6 +525,8 @@ void avfilter_free(AVFilterContext *filter) · 524 unmodified lines | ||
| 525 | 525 | if (filter->filter->priv_class) |
| 526 | 526 | av_opt_free(filter->priv); |
| 527 | 527 | |
| 528 | + av_buffer_unref(&filter->hw_device_ctx); | |
| 529 | + | |
| 528 | 530 | av_freep(&filter->name); |
| 529 | 531 | av_freep(&filter->input_pads); |
| 530 | 532 | av_freep(&filter->output_pads); |