Michael Stefaniuc : qcap/tests: Remove a redundant NULL check before CoTaskMemFree().
Module: wine Branch: master Commit: 5287add1c476374c1e21b75d90d57854a11a3470 URL: http://source.winehq.org/git/wine.git/?a=commit;h=5287add1c476374c1e21b75d90... Author: Michael Stefaniuc <mstefani(a)redhat.de> Date: Fri Jul 8 10:11:15 2016 +0200 qcap/tests: Remove a redundant NULL check before CoTaskMemFree(). Signed-off-by: Michael Stefaniuc <mstefani(a)redhat.de> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- dlls/qcap/tests/smartteefilter.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/qcap/tests/smartteefilter.c b/dlls/qcap/tests/smartteefilter.c index 4c02034..e927d59 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++; }
participants (1)
-
Alexandre Julliard