Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
85763a17
Commit
85763a17
authored
Jan 04, 2005
by
Robert Shearman
Committed by
Alexandre Julliard
Jan 04, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Add tracing for proxy ref count functions.
- Release the channel on proxy destruction.
parent
73318dab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
marshal.c
dlls/ole32/marshal.c
+4
-2
No files found.
dlls/ole32/marshal.c
View file @
85763a17
...
...
@@ -164,7 +164,7 @@ static HRESULT WINAPI ClientIdentity_QueryInterface(IInternalUnknown * iface, RE
static
ULONG
WINAPI
ClientIdentity_AddRef
(
IInternalUnknown
*
iface
)
{
struct
proxy_manager
*
This
=
(
struct
proxy_manager
*
)
iface
;
TRACE
(
"%p
\n
"
,
iface
);
TRACE
(
"%p
- before %ld
\n
"
,
iface
,
This
->
refs
);
return
InterlockedIncrement
(
&
This
->
refs
);
}
...
...
@@ -172,7 +172,7 @@ static ULONG WINAPI ClientIdentity_Release(IInternalUnknown * iface)
{
struct
proxy_manager
*
This
=
(
struct
proxy_manager
*
)
iface
;
ULONG
refs
=
InterlockedDecrement
(
&
This
->
refs
);
TRACE
(
"%p
\n
"
,
iface
);
TRACE
(
"%p
- after %ld
\n
"
,
iface
,
refs
);
if
(
!
refs
)
proxy_manager_destroy
(
This
);
return
refs
;
...
...
@@ -366,6 +366,8 @@ static void proxy_manager_destroy(struct proxy_manager * This)
ifproxy_destroy
(
ifproxy
);
}
IRpcChannelBuffer_Release
(
This
->
chan
);
DeleteCriticalSection
(
&
This
->
cs
);
HeapFree
(
GetProcessHeap
(),
0
,
This
);
...
...
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