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
7f175bd4
Commit
7f175bd4
authored
Dec 17, 2009
by
Huw Davies
Committed by
Alexandre Julliard
Dec 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Fix several memory leaks in the tests.
Found by Valgrind.
parent
229fbad9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
typelib.c
dlls/oleaut32/tests/typelib.c
+8
-0
No files found.
dlls/oleaut32/tests/typelib.c
View file @
7f175bd4
...
...
@@ -735,8 +735,10 @@ static void test_inheritance(void)
if
(
use_midl_tlb
)
{
ok
(
pTA
->
cFuncs
==
6
,
"cfuncs %d
\n
"
,
pTA
->
cFuncs
);
ok
(
pTA
->
cImplTypes
==
1
,
"cimpltypes %d
\n
"
,
pTA
->
cImplTypes
);
}
ITypeInfo_ReleaseTypeAttr
(
pTI
,
pTA
);
if
(
use_midl_tlb
)
{
hr
=
ITypeInfo_GetRefTypeOfImplType
(
pTI
,
0
,
&
href
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetRefTypeInfo
(
pTI
,
href
,
&
pTI_p
);
...
...
@@ -861,8 +863,10 @@ if(use_midl_tlb) {
if
(
use_midl_tlb
)
{
ok
(
pTA
->
cFuncs
==
3
,
"cfuncs %d
\n
"
,
pTA
->
cFuncs
);
ok
(
pTA
->
cImplTypes
==
1
,
"cimpltypes %d
\n
"
,
pTA
->
cImplTypes
);
}
ITypeInfo_ReleaseTypeAttr
(
pTI
,
pTA
);
if
(
use_midl_tlb
)
{
hr
=
ITypeInfo_GetRefTypeOfImplType
(
pTI
,
-
1
,
&
href
);
ok
(
hr
==
TYPE_E_ELEMENTNOTFOUND
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetRefTypeOfImplType
(
pTI
,
0
,
&
href
);
...
...
@@ -897,8 +901,10 @@ if(use_midl_tlb) {
if
(
use_midl_tlb
)
{
ok
(
pTA
->
cFuncs
==
10
,
"cfuncs %d
\n
"
,
pTA
->
cFuncs
);
ok
(
pTA
->
cImplTypes
==
1
,
"cimpltypes %d
\n
"
,
pTA
->
cImplTypes
);
}
ITypeInfo_ReleaseTypeAttr
(
pTI
,
pTA
);
if
(
use_midl_tlb
)
{
hr
=
ITypeInfo_GetRefTypeOfImplType
(
pTI
,
0
,
&
href
);
ok
(
hr
==
S_OK
,
"hr %08x
\n
"
,
hr
);
hr
=
ITypeInfo_GetRefTypeInfo
(
pTI
,
href
,
&
pTI_p
);
...
...
@@ -942,8 +948,10 @@ if(use_midl_tlb) {
if
(
use_midl_tlb
)
{
ok
(
pTA
->
cFuncs
==
1
,
"cfuncs %d
\n
"
,
pTA
->
cFuncs
);
ok
(
pTA
->
cImplTypes
==
1
,
"cimpltypes %d
\n
"
,
pTA
->
cImplTypes
);
}
ITypeInfo_ReleaseTypeAttr
(
pTI
,
pTA
);
if
(
use_midl_tlb
)
{
/* Should have one method */
hr
=
ITypeInfo_GetFuncDesc
(
pTI
,
1
,
&
pFD
);
ok
(
hr
==
TYPE_E_ELEMENTNOTFOUND
,
"hr %08x
\n
"
,
hr
);
...
...
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