Module: wine Branch: master Commit: 94e88e6712aa40cb30a6be920e9d20885aa7e7c7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=94e88e6712aa40cb30a6be920e...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Mon Jun 21 13:36:13 2010 +0400
msxml3: Extend traces for inc/dec refs on libxml2 documents.
---
dlls/msxml3/domdoc.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msxml3/domdoc.c b/dlls/msxml3/domdoc.c index 4808e4e..688ce99 100644 --- a/dlls/msxml3/domdoc.c +++ b/dlls/msxml3/domdoc.c @@ -158,7 +158,7 @@ static xmlDocPtr doparse( char *ptr, int len, const char *encoding ) LONG xmldoc_add_ref(xmlDocPtr doc) { LONG ref = InterlockedIncrement(&priv_from_xmlDocPtr(doc)->refs); - TRACE("%d\n", ref); + TRACE("(%p)->(%d)\n", doc, ref); return ref; }
@@ -166,7 +166,7 @@ LONG xmldoc_release(xmlDocPtr doc) { xmldoc_priv *priv = priv_from_xmlDocPtr(doc); LONG ref = InterlockedDecrement(&priv->refs); - TRACE("%d\n", ref); + TRACE("(%p)->(%d)\n", doc, ref); if(ref == 0) { orphan_entry *orphan, *orphan2;