quartz: Don't AddRef an object we just created and are handing back
to the caller
Chris Robinson
chris.kcat at gmail.com
Mon Mar 5 02:13:43 CST 2007
-------------- next part --------------
From 3c0a42388d0ea5124dd612ab0b52412bd041b02a Mon Sep 17 00:00:00 2001
From: Chris Robinson <chris.kcat at gmail.com>
Date: Mon, 5 Mar 2007 00:12:29 -0800
Subject: [PATCH] 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;
--
1.4.4.4
More information about the wine-patches
mailing list