quartz: Report the previous refcount of a PullPin object

Chris Robinson chris.kcat at gmail.com
Sun Mar 4 22:49:01 CST 2007


-------------- next part --------------
From a78feea917c75fe539e4ab6efd14c16fda52ae4b Mon Sep 17 00:00:00 2001
From: Chris Robinson <chris.kcat at gmail.com>
Date: Sun, 4 Mar 2007 20:46:04 -0800
Subject: [PATCH] quartz: Report the previous refcount of a PullPin object

---
 dlls/quartz/pin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/quartz/pin.c b/dlls/quartz/pin.c
index 5bc84bf..9cc05da 100644
--- a/dlls/quartz/pin.c
+++ b/dlls/quartz/pin.c
@@ -1125,7 +1125,7 @@ ULONG WINAPI PullPin_Release(IPin * iface)
     PullPin *This = (PullPin *)iface;
     ULONG refCount = InterlockedDecrement(&This->pin.refCount);
 
-    TRACE("(%p/%p)->()\n", This, iface);
+    TRACE("(%p)->() Release from %d\n", This, refCount + 1);
 
     if (!refCount)
     {
-- 
1.4.4.4



More information about the wine-patches mailing list