strmbase: Remove redundant null pointer check.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7dd00af747
commit
9385e9f78a
|
@ -37,8 +37,6 @@ HRESULT WINAPI BaseDispatch_Init(BaseDispatch *This, REFIID riid)
|
|||
if (SUCCEEDED(hr))
|
||||
{
|
||||
hr = ITypeLib_GetTypeInfoOfGuid(pTypeLib, riid, &This->pTypeInfo);
|
||||
|
||||
if (pTypeLib)
|
||||
ITypeLib_Release(pTypeLib);
|
||||
}
|
||||
return hr;
|
||||
|
|
Loading…
Reference in New Issue