quartz: Don't AddRef an object we just created and are handing back to the caller.
This commit is contained in:
parent
7f9becf854
commit
efe156ae8e
|
@ -928,7 +928,6 @@ static HRESULT WINAPI FileAsyncReader_RequestAllocator(IAsyncReader * iface, IMe
|
|||
/* FIXME: check we are still aligned */
|
||||
if (SUCCEEDED(hr))
|
||||
{
|
||||
IMemAllocator_AddRef(pPreferred);
|
||||
*ppActual = pPreferred;
|
||||
TRACE("FileAsyncReader_RequestAllocator -- %x\n", hr);
|
||||
return S_OK;
|
||||
|
|
Loading…
Reference in New Issue