Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
ec1ab037
Commit
ec1ab037
authored
Nov 08, 2010
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 09, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msxml3: Trace DOM document reference counts.
parent
804c50fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
domdoc.c
dlls/msxml3/domdoc.c
+6
-6
No files found.
dlls/msxml3/domdoc.c
View file @
ec1ab037
...
...
@@ -864,8 +864,9 @@ static ULONG WINAPI domdoc_AddRef(
IXMLDOMDocument3
*
iface
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
TRACE
(
"%p
\n
"
,
This
);
return
InterlockedIncrement
(
&
This
->
ref
);
ULONG
ref
=
InterlockedIncrement
(
&
This
->
ref
);
TRACE
(
"(%p)->(%d)
\n
"
,
This
,
ref
);
return
ref
;
}
...
...
@@ -873,11 +874,10 @@ static ULONG WINAPI domdoc_Release(
IXMLDOMDocument3
*
iface
)
{
domdoc
*
This
=
impl_from_IXMLDOMDocument3
(
iface
);
LONG
ref
;
LONG
ref
=
InterlockedDecrement
(
&
This
->
ref
)
;
TRACE
(
"
%p
\n
"
,
This
);
TRACE
(
"
(%p)->(%d)
\n
"
,
This
,
ref
);
ref
=
InterlockedDecrement
(
&
This
->
ref
);
if
(
ref
==
0
)
{
if
(
This
->
bsc
)
...
...
@@ -888,7 +888,7 @@ static ULONG WINAPI domdoc_Release(
destroy_xmlnode
(
&
This
->
node
);
if
(
This
->
schema
)
IXMLDOMSchemaCollection2_Release
(
This
->
schema
);
if
(
This
->
stream
)
IStream_Release
(
This
->
stream
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
heap_free
(
This
);
}
return
ref
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment