qcap/tests: Remove a redundant NULL check before CoTaskMemFree().

Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2016-07-08 10:11:15 +02:00 committed by Alexandre Julliard
parent cf3d957950
commit 5287add1c4
1 changed files with 1 additions and 2 deletions

View File

@ -1721,8 +1721,7 @@ static void test_smart_tee_filter(void)
endwhile: endwhile:
if (pinInfo.pFilter) if (pinInfo.pFilter)
IBaseFilter_Release(pinInfo.pFilter); IBaseFilter_Release(pinInfo.pFilter);
if (id) CoTaskMemFree(id);
CoTaskMemFree(id);
IPin_Release(pin); IPin_Release(pin);
pinNumber++; pinNumber++;
} }