avdevice/dshow: tv_tuner_audio_dialog cleanup missing

Cleanup was missing for when the show_analog_tv_tuner_audio_dialog is
true.

Signed-off-by: Diederick Niehorster <dcnieho@gmail.com>
Reviewed-by: Roger Pack <rogerdpack2@gmail.com>
This commit is contained in:
Diederick Niehorster 2022-01-02 10:49:36 +01:00 committed by Gyan Doshi
parent 9c91930ef7
commit d1f7700133
1 changed files with 4 additions and 0 deletions

View File

@ -204,5 +204,9 @@ end:
IAMTVTuner_Release(tv_tuner_filter);
if (tv_tuner_base_filter)
IBaseFilter_Release(tv_tuner_base_filter);
if (tv_audio_filter)
IAMAudioInputMixer_Release(tv_audio_filter);
if (tv_audio_base_filter)
IBaseFilter_Release(tv_audio_base_filter);
return hr;
}