Commit 9385e9f7 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

strmbase: Remove redundant null pointer check.

parent 7dd00af7
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment