diff --git a/dlls/qcap/tests/smartteefilter.c b/dlls/qcap/tests/smartteefilter.c index 4c02034b8e6..e927d59f1b1 100644 --- a/dlls/qcap/tests/smartteefilter.c +++ b/dlls/qcap/tests/smartteefilter.c @@ -1721,8 +1721,7 @@ static void test_smart_tee_filter(void) endwhile: if (pinInfo.pFilter) IBaseFilter_Release(pinInfo.pFilter); - if (id) - CoTaskMemFree(id); + CoTaskMemFree(id); IPin_Release(pin); pinNumber++; }