strmbase: Remove a couple of redundant statements in Release() methods.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2016-11-25 12:10:44 +03:00 committed by Alexandre Julliard
parent 8d8507808e
commit 16dead4dd2
2 changed files with 2 additions and 7 deletions

View File

@ -397,10 +397,8 @@ ULONG WINAPI BaseOutputPinImpl_Release(IPin * iface)
TRACE("(%p)->() Release from %d\n", iface, refCount + 1);
if (!refCount)
{
BaseOutputPin_Destroy(This);
return 0;
}
return refCount;
}

View File

@ -344,10 +344,7 @@ ULONG WINAPI TransformFilterImpl_Release(IBaseFilter * iface)
IUnknown_Release(This->seekthru_unk);
BaseFilter_Destroy(&This->filter);
CoTaskMemFree(This);
return 0;
}
else
return refCount;
}