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
6ed258e2
Commit
6ed258e2
authored
Nov 12, 2008
by
David Adam
Committed by
Alexandre Julliard
Nov 12, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Check for NULL condition in FilterGraph2_Disconnect.
parent
aa50cd31
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
filtergraph.c
dlls/quartz/filtergraph.c
+3
-0
filtergraph.c
dlls/quartz/tests/filtergraph.c
+3
-0
No files found.
dlls/quartz/filtergraph.c
View file @
6ed258e2
...
...
@@ -744,6 +744,9 @@ static HRESULT WINAPI FilterGraph2_Disconnect(IFilterGraph2 *iface, IPin *ppin)
TRACE
(
"(%p/%p)->(%p)
\n
"
,
This
,
iface
,
ppin
);
if
(
!
ppin
)
return
E_POINTER
;
return
IPin_Disconnect
(
ppin
);
}
...
...
dlls/quartz/tests/filtergraph.c
View file @
6ed258e2
...
...
@@ -1593,6 +1593,9 @@ static void test_render_filter_priority(void)
hr
=
IFilterGraph2_Render
(
pgraph2
,
((
TestFilterImpl
*
)
ptestfilter
)
->
ppPins
[
0
]);
ok
(
hr
==
S_OK
,
"IFilterGraph2_Render failed with %08x
\n
"
,
hr
);
hr
=
IFilterGraph2_Disconnect
(
pgraph2
,
NULL
);
ok
(
hr
==
E_POINTER
,
"IFilterGraph2_Disconnect failed. Expected E_POINTER, received %08x
\n
"
,
hr
);
get_connected_filter_name
((
TestFilterImpl
*
)
ptestfilter
,
ConnectedFilterName2
);
ok
(
lstrcmp
(
ConnectedFilterName1
,
ConnectedFilterName2
),
"expected connected filters to be different but got %s both times
\n
"
,
ConnectedFilterName1
);
...
...
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