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
87e1df02
Commit
87e1df02
authored
May 15, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
May 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz/tests: Fix a leak in test_fm2_enummatchingfilters().
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e1c57c27
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
filtermapper.c
dlls/quartz/tests/filtermapper.c
+5
-2
No files found.
dlls/quartz/tests/filtermapper.c
View file @
87e1df02
...
...
@@ -119,7 +119,7 @@ static void test_fm2_enummatchingfilters(void)
IEnumMoniker
*
pEnum
=
NULL
;
BOOL
found
,
registered
=
TRUE
;
REGFILTER
*
regfilter
;
ULONG
count
;
ULONG
count
,
ref
;
ZeroMemory
(
&
rgf2
,
sizeof
(
rgf2
));
...
...
@@ -227,6 +227,8 @@ static void test_fm2_enummatchingfilters(void)
}
IEnumRegFilters_Release
(
enum_reg
);
ok
(
found
,
"IFilterMapper didn't find filter
\n
"
);
IFilterMapper_Release
(
mapper
);
}
if
(
pEnum
)
IEnumMoniker_Release
(
pEnum
);
...
...
@@ -256,7 +258,8 @@ static void test_fm2_enummatchingfilters(void)
out:
if
(
pEnum
)
IEnumMoniker_Release
(
pEnum
);
if
(
pMapper
)
IFilterMapper2_Release
(
pMapper
);
ref
=
IFilterMapper2_Release
(
pMapper
);
ok
(
!
ref
,
"Got outstanding refcount %d.
\n
"
,
ref
);
}
static
void
test_legacy_filter_registration
(
void
)
...
...
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