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
3023a186
Commit
3023a186
authored
Apr 11, 2008
by
Piotr Caban
Committed by
Alexandre Julliard
Apr 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleview: Removed memory leak in EnumImplTypes.
parent
cdc3ee70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
typelib.c
programs/oleview/typelib.c
+10
-2
No files found.
programs/oleview/typelib.c
View file @
3023a186
...
...
@@ -744,8 +744,16 @@ static int EnumImplTypes(ITypeInfo *pTypeInfo, int cImplTypes, HTREEITEM hParent
if
(
FAILED
(
ITypeInfo_GetRefTypeInfo
(
pTypeInfo
,
hRefType
,
&
pRefTypeInfo
)))
continue
;
if
(
FAILED
(
ITypeInfo_GetDocumentation
(
pRefTypeInfo
,
MEMBERID_NIL
,
&
bstrName
,
NULL
,
NULL
,
NULL
)))
continue
;
if
(
FAILED
(
ITypeInfo_GetTypeAttr
(
pRefTypeInfo
,
&
pTypeAttr
)))
continue
;
NULL
,
NULL
,
NULL
)))
{
ITypeInfo_Release
(
pRefTypeInfo
);
continue
;
}
if
(
FAILED
(
ITypeInfo_GetTypeAttr
(
pRefTypeInfo
,
&
pTypeAttr
)))
{
ITypeInfo_Release
(
pRefTypeInfo
);
continue
;
}
U
(
tvis
).
item
.
cchTextMax
=
SysStringLen
(
bstrName
);
U
(
tvis
).
item
.
pszText
=
bstrName
;
...
...
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