quartz: Don't AddRef an object we just created and are handing back to the caller.

This commit is contained in:
Chris Robinson 2007-03-05 00:12:29 -08:00 committed by Alexandre Julliard
parent 7f9becf854
commit efe156ae8e
1 changed files with 0 additions and 1 deletions

View File

@ -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;