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
7839aa22
Commit
7839aa22
authored
May 05, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 05, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atl100/tests: Fixed some leaks (Valgrind).
parent
4b35cf73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
atl.c
dlls/atl100/tests/atl.c
+14
-0
No files found.
dlls/atl100/tests/atl.c
View file @
7839aa22
...
...
@@ -916,6 +916,8 @@ static void test_AtlAxCreateControl(void)
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
container
!=
NULL
,
"returned %p!
\n
"
,
container
);
ok
(
control
!=
NULL
,
"returned %p
\n
"
,
control
);
IUnknown_Release
(
container
);
IUnknown_Release
(
control
);
DestroyWindow
(
hwnd
);
container
=
NULL
;
...
...
@@ -926,6 +928,8 @@ static void test_AtlAxCreateControl(void)
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
container
!=
NULL
,
"returned %p!
\n
"
,
container
);
ok
(
control
!=
NULL
,
"returned %p
\n
"
,
control
);
IUnknown_Release
(
container
);
IUnknown_Release
(
control
);
DestroyWindow
(
hwnd
);
container
=
NULL
;
...
...
@@ -936,6 +940,8 @@ static void test_AtlAxCreateControl(void)
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
container
!=
NULL
,
"returned %p!
\n
"
,
container
);
ok
(
control
!=
NULL
,
"returned %p
\n
"
,
control
);
IUnknown_Release
(
container
);
IUnknown_Release
(
control
);
DestroyWindow
(
hwnd
);
container
=
NULL
;
...
...
@@ -946,6 +952,8 @@ static void test_AtlAxCreateControl(void)
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
container
!=
NULL
,
"returned %p!
\n
"
,
container
);
ok
(
control
!=
NULL
,
"returned %p
\n
"
,
control
);
IUnknown_Release
(
container
);
IUnknown_Release
(
control
);
DestroyWindow
(
hwnd
);
container
=
(
IUnknown
*
)
0xdeadbeef
;
...
...
@@ -976,6 +984,8 @@ static void test_AtlAxCreateControl(void)
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
container
!=
NULL
,
"returned %p!
\n
"
,
container
);
ok
(
control
!=
NULL
,
"returned %p
\n
"
,
control
);
IUnknown_Release
(
container
);
IUnknown_Release
(
control
);
DestroyWindow
(
hwnd
);
/* test file:// scheme */
...
...
@@ -989,6 +999,8 @@ static void test_AtlAxCreateControl(void)
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
container
!=
NULL
,
"returned %p!
\n
"
,
container
);
ok
(
control
!=
NULL
,
"returned %p
\n
"
,
control
);
IUnknown_Release
(
container
);
IUnknown_Release
(
control
);
DestroyWindow
(
hwnd
);
/* test file:// scheme on non-existent file. */
...
...
@@ -1002,6 +1014,8 @@ static void test_AtlAxCreateControl(void)
ok
(
hr
==
S_OK
,
"got 0x%08x
\n
"
,
hr
);
ok
(
container
!=
NULL
,
"returned %p!
\n
"
,
container
);
ok
(
control
!=
NULL
,
"returned %p
\n
"
,
control
);
IUnknown_Release
(
container
);
IUnknown_Release
(
control
);
DestroyWindow
(
hwnd
);
}
...
...
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