Commit 1a723b1a authored by Ken Self's avatar Ken Self

BDA - minor bug fix in graph destructor

parent 74e5ab00
...@@ -1419,7 +1419,7 @@ HRESULT BDAGraph::Destroy() ...@@ -1419,7 +1419,7 @@ HRESULT BDAGraph::Destroy()
p_media_control->Release(); p_media_control->Release();
p_media_control = NULL; p_media_control = NULL;
} }
if( p_scanning_tuner ) if( p_filter_graph )
{ {
p_filter_graph->Release(); p_filter_graph->Release();
p_filter_graph = NULL; p_filter_graph = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment