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
8479229a
Commit
8479229a
authored
Dec 27, 2014
by
Alex Henrie
Committed by
Alexandre Julliard
Dec 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dpvoice: Decrement reference count in Release functions.
parent
c1344662
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
client.c
dlls/dpvoice/client.c
+2
-2
server.c
dlls/dpvoice/server.c
+2
-1
No files found.
dlls/dpvoice/client.c
View file @
8479229a
...
...
@@ -83,7 +83,7 @@ static ULONG WINAPI dpvclient_AddRef(IDirectPlayVoiceClient *iface)
static
ULONG
WINAPI
dpvclient_Release
(
IDirectPlayVoiceClient
*
iface
)
{
IDirectPlayVoiceClientImpl
*
This
=
impl_from_IDirectPlayVoiceClient
(
iface
);
ULONG
ref
=
Interlocked
In
crement
(
&
This
->
ref
);
ULONG
ref
=
Interlocked
De
crement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%u
\n
"
,
This
,
ref
);
...
...
@@ -270,7 +270,7 @@ static ULONG WINAPI dpvtest_AddRef(IDirectPlayVoiceTest *iface)
static
ULONG
WINAPI
dpvtest_Release
(
IDirectPlayVoiceTest
*
iface
)
{
IDirectPlayVoiceTestImpl
*
This
=
impl_from_IDirectPlayVoiceTest
(
iface
);
ULONG
ref
=
Interlocked
In
crement
(
&
This
->
ref
);
ULONG
ref
=
Interlocked
De
crement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%u
\n
"
,
This
,
ref
);
...
...
dlls/dpvoice/server.c
View file @
8479229a
...
...
@@ -68,10 +68,11 @@ static ULONG WINAPI dpvserver_AddRef(IDirectPlayVoiceServer *iface)
return
ref
;
}
static
ULONG
WINAPI
dpvserver_Release
(
IDirectPlayVoiceServer
*
iface
)
{
IDirectPlayVoiceServerImpl
*
This
=
impl_from_IDirectPlayVoiceServer
(
iface
);
ULONG
ref
=
Interlocked
In
crement
(
&
This
->
ref
);
ULONG
ref
=
Interlocked
De
crement
(
&
This
->
ref
);
TRACE
(
"(%p) ref=%u
\n
"
,
This
,
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