Chris Robinson : quartz: Don' t AddRef an object we just created and are handing back to the caller.
Module: wine Branch: master Commit: efe156ae8ec4163da2a51511297dee2f6a5d0235 URL: http://source.winehq.org/git/wine.git/?a=commit;h=efe156ae8ec4163da2a5151129... Author: Chris Robinson <chris.kcat(a)gmail.com> Date: Mon Mar 5 00:12:29 2007 -0800 quartz: Don't AddRef an object we just created and are handing back to the caller. --- dlls/quartz/filesource.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/dlls/quartz/filesource.c b/dlls/quartz/filesource.c index 691413d..01b9955 100644 --- a/dlls/quartz/filesource.c +++ b/dlls/quartz/filesource.c @@ -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;
participants (1)
-
Alexandre Julliard