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
3982f124
Commit
3982f124
authored
Oct 04, 2007
by
Mikolaj Zalewski
Committed by
Alexandre Julliard
Oct 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleview: Don't crash if the parent type couldn't be retrieved.
parent
56eb6f67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
typelib.c
programs/oleview/typelib.c
+10
-6
No files found.
programs/oleview/typelib.c
View file @
3982f124
...
...
@@ -895,14 +895,18 @@ static void CreateInterfaceInfo(ITypeInfo *pTypeInfo, int cImplTypes, WCHAR *wsz
AddToTLDataStrW
(
pTLData
,
wszSpace
);
ITypeInfo_GetRefTypeOfImplType
(
pTypeInfo
,
0
,
&
hRefType
);
ITypeInfo_GetRefTypeInfo
(
pTypeInfo
,
hRefType
,
&
pRefTypeInfo
);
ITypeInfo_GetDocumentation
(
pRefTypeInfo
,
MEMBERID_NIL
,
&
bstrName
,
if
(
SUCCEEDED
(
ITypeInfo_GetRefTypeInfo
(
pTypeInfo
,
hRefType
,
&
pRefTypeInfo
)))
{
ITypeInfo_GetDocumentation
(
pRefTypeInfo
,
MEMBERID_NIL
,
&
bstrName
,
NULL
,
NULL
,
NULL
);
AddToTLDataStrW
(
pTLData
,
bstrName
);
AddToTLDataStrW
(
pTLData
,
wszSpace
);
AddToTLDataStrW
(
pTLData
,
bstrName
);
AddToTLDataStrW
(
pTLData
,
wszSpace
);
SysFreeString
(
bstrName
);
ITypeInfo_Release
(
pRefTypeInfo
);
SysFreeString
(
bstrName
);
ITypeInfo_Release
(
pRefTypeInfo
);
}
else
AddToTLDataStrW
(
pTLData
,
wszFailed
);
}
AddToTLDataStrW
(
pTLData
,
wszOpenBrackets3
);
AddToTLDataStrW
(
pTLData
,
wszNewLine
);
...
...
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