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
cf45bec6
Commit
cf45bec6
authored
Jul 26, 2014
by
Thomas Faber
Committed by
Alexandre Julliard
Jul 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/tests: Fix memory leaks.
parent
bab08e69
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
filtergraph.c
dlls/quartz/tests/filtergraph.c
+1
-0
referenceclock.c
dlls/quartz/tests/referenceclock.c
+6
-4
No files found.
dlls/quartz/tests/filtergraph.c
View file @
cf45bec6
...
...
@@ -1884,6 +1884,7 @@ START_TEST(filtergraph)
skip
(
"Creating filtergraph returned %08x, skipping tests
\n
"
,
hr
);
return
;
}
IGraphBuilder_Release
(
pgraph
);
test_render_run
(
avifile
);
test_render_run
(
mpegfile
);
test_graph_builder
();
...
...
dlls/quartz/tests/referenceclock.c
View file @
cf45bec6
...
...
@@ -28,19 +28,21 @@
static
void
test_IReferenceClock_query_interface
(
const
char
*
clockdesc
,
IReferenceClock
*
pClock
)
{
HRESULT
hr
;
IUnknown
*
pF
;
void
*
pF
;
hr
=
IReferenceClock_QueryInterface
(
pClock
,
&
IID_IUnknown
,
(
LPVOID
*
)
&
pF
);
hr
=
IReferenceClock_QueryInterface
(
pClock
,
&
IID_IUnknown
,
&
pF
);
ok
(
hr
==
S_OK
,
"IReferenceClock_QueryInterface returned %x
\n
"
,
hr
);
ok
(
pF
!=
NULL
,
"pF is NULL
\n
"
);
if
(
SUCCEEDED
(
hr
))
IUnknown_Release
((
IUnknown
*
)
pF
);
hr
=
IReferenceClock_QueryInterface
(
pClock
,
&
IID_IDirectDraw
,
(
LPVOID
*
)
&
pF
);
hr
=
IReferenceClock_QueryInterface
(
pClock
,
&
IID_IDirectDraw
,
&
pF
);
ok
(
hr
==
E_NOINTERFACE
,
"IReferenceClock_QueryInterface returned %x
\n
"
,
hr
);
ok
(
pF
==
NULL
,
"pF is not NULL
\n
"
);
hr
=
IReferenceClock_QueryInterface
(
pClock
,
&
IID_IReferenceClock
,
(
LPVOID
*
)
&
pF
);
hr
=
IReferenceClock_QueryInterface
(
pClock
,
&
IID_IReferenceClock
,
&
pF
);
ok
(
hr
==
S_OK
,
"IReferenceClock_QueryInterface returned %x
\n
"
,
hr
);
ok
(
pF
!=
NULL
,
"pF is NULL
\n
"
);
if
(
SUCCEEDED
(
hr
))
IReferenceClock_Release
((
IReferenceClock
*
)
pF
);
}
/* The following method expects a reference clock that will keep ticking for
...
...
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