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
fd8a33fd
Commit
fd8a33fd
authored
Apr 03, 2015
by
Thomas Faber
Committed by
Alexandre Julliard
Apr 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Avoid side-effects in asserts.
parent
2885e712
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
gstdemux.c
dlls/winegstreamer/gstdemux.c
+5
-2
No files found.
dlls/winegstreamer/gstdemux.c
View file @
fd8a33fd
...
...
@@ -1074,6 +1074,7 @@ IUnknown * CALLBACK Gstreamer_Splitter_create(IUnknown *punkout, HRESULT *phr) {
static
void
GST_Destroy
(
GSTImpl
*
This
)
{
IPin
*
connected
=
NULL
;
ULONG
pinref
;
HRESULT
hr
;
TRACE
(
"Destroying
\n
"
);
...
...
@@ -1082,9 +1083,11 @@ static void GST_Destroy(GSTImpl *This) {
/* Don't need to clean up output pins, disconnecting input pin will do that */
IPin_ConnectedTo
((
IPin
*
)
&
This
->
pInputPin
,
&
connected
);
if
(
connected
)
{
assert
(
IPin_Disconnect
(
connected
)
==
S_OK
);
hr
=
IPin_Disconnect
(
connected
);
assert
(
hr
==
S_OK
);
IPin_Release
(
connected
);
assert
(
IPin_Disconnect
((
IPin
*
)
&
This
->
pInputPin
)
==
S_OK
);
hr
=
IPin_Disconnect
((
IPin
*
)
&
This
->
pInputPin
);
assert
(
hr
==
S_OK
);
}
pinref
=
IPin_Release
((
IPin
*
)
&
This
->
pInputPin
);
if
(
pinref
)
{
...
...
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