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
ff94fc1d
Commit
ff94fc1d
authored
Dec 29, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oleview: Use proper pointer type when allocating names array (Coverity).
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3c84cc18
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
typelib.c
programs/oleview/typelib.c
+1
-1
No files found.
programs/oleview/typelib.c
View file @
ff94fc1d
...
...
@@ -616,7 +616,7 @@ static int EnumFuncs(ITypeInfo *pTypeInfo, TYPEATTR *pTypeAttr, HTREEITEM hParen
}
bstrParamNames
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
BSTR
*
)
*
(
pFuncDesc
->
cParams
+
1
));
sizeof
(
BSTR
)
*
(
pFuncDesc
->
cParams
+
1
));
if
(
FAILED
(
ITypeInfo_GetNames
(
pTypeInfo
,
pFuncDesc
->
memid
,
bstrParamNames
,
pFuncDesc
->
cParams
+
1
,
&
namesNo
)))
{
...
...
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