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
88357e92
Commit
88357e92
authored
Feb 26, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mp3dmod: Release a held buffer on destruction.
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fb94eae9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
mp3dmod.c
dlls/mp3dmod/mp3dmod.c
+2
-0
mp3dmod.c
dlls/mp3dmod/tests/mp3dmod.c
+1
-1
No files found.
dlls/mp3dmod/mp3dmod.c
View file @
88357e92
...
...
@@ -103,6 +103,8 @@ static ULONG WINAPI Unknown_Release(IUnknown *iface)
if
(
!
refcount
)
{
if
(
This
->
buffer
)
IMediaBuffer_Release
(
This
->
buffer
);
if
(
This
->
intype_set
)
MoFreeMediaType
(
&
This
->
intype
);
MoFreeMediaType
(
&
This
->
outtype
);
...
...
dlls/mp3dmod/tests/mp3dmod.c
View file @
88357e92
...
...
@@ -239,7 +239,7 @@ static void test_convert(void)
ok
(
hr
==
S_OK
,
"got %#x
\n
"
,
hr
);
IMediaObject_Release
(
dmo
);
todo_wine
ok
(
inbuf
.
refcount
==
1
,
"Got outstanding refcount %d.
\n
"
,
inbuf
.
refcount
);
ok
(
inbuf
.
refcount
==
1
,
"Got outstanding refcount %d.
\n
"
,
inbuf
.
refcount
);
ok
(
outbuf
.
refcount
==
1
,
"Got outstanding refcount %d.
\n
"
,
outbuf
.
refcount
);
}
...
...
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