mirror of
https://github.com/reactos/wine.git
synced 2024-11-27 21:50:37 +00:00
quartz: Destroy BaseRenderer in NullRendererInner_Release.
This commit is contained in:
parent
1236f52d19
commit
0c9b832229
@ -128,12 +128,11 @@ static ULONG WINAPI NullRendererInner_AddRef(IUnknown *iface)
|
||||
static ULONG WINAPI NullRendererInner_Release(IUnknown *iface)
|
||||
{
|
||||
NullRendererImpl *This = impl_from_IUnknown(iface);
|
||||
ULONG refCount = InterlockedDecrement(&This->renderer.filter.refCount);
|
||||
ULONG refCount = BaseRendererImpl_Release(&This->renderer.filter.IBaseFilter_iface);
|
||||
|
||||
if (!refCount)
|
||||
{
|
||||
TRACE("Destroying Null Renderer\n");
|
||||
BaseFilter_Destroy(&This->renderer.filter);
|
||||
CoTaskMemFree(This);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user