Commit efe156ae authored by Chris Robinson's avatar Chris Robinson Committed by Alexandre Julliard

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

parent 7f9becf8
......@@ -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;
......
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