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:
parent
cf3d957950
commit
5287add1c4
|
@ -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++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue