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
87c47219
Commit
87c47219
authored
Nov 19, 2009
by
Rob Shearman
Committed by
Alexandre Julliard
Nov 19, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleaut32: Fix a reference count leak in NonOleAutomation_GetTypeInfo.
Also enable a test which now works in Wine.
parent
2a42f429
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
tmarshal.c
dlls/oleaut32/tests/tmarshal.c
+1
-2
No files found.
dlls/oleaut32/tests/tmarshal.c
View file @
87c47219
...
...
@@ -915,6 +915,7 @@ static ITypeInfo *NonOleAutomation_GetTypeInfo(void)
ITypeInfo
*
pTypeInfo
;
hr
=
ITypeLib_GetTypeInfoOfGuid
(
pTypeLib
,
&
IID_INonOleAutomation
,
&
pTypeInfo
);
ok_ole_success
(
hr
,
ITypeLib_GetTypeInfoOfGuid
);
ITypeLib_Release
(
pTypeLib
);
return
pTypeInfo
;
}
return
NULL
;
...
...
@@ -1260,10 +1261,8 @@ static void test_typelibmarshal(void)
dispparams
.
cArgs
=
1
;
dispparams
.
rgvarg
=
vararg
;
VariantInit
(
&
varresult
);
#if 0 /* NULL unknown not currently marshaled correctly */
hr
=
IDispatch_Invoke
(
pDispatch
,
DISPID_TM_NAME
,
&
IID_NULL
,
LOCALE_NEUTRAL
,
DISPATCH_PROPERTYPUT
,
&
dispparams
,
&
varresult
,
&
excepinfo
,
NULL
);
ok
(
hr
==
DISP_E_TYPEMISMATCH
,
"IDispatch_Invoke should have returned DISP_E_TYPEMISMATCH instead of 0x%08x
\n
"
,
hr
);
#endif
VariantClear
(
&
varresult
);
/* tests bad param type */
...
...
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