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
449bdc33
Commit
449bdc33
authored
Jul 04, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Jul 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Use correct pointer type in add_match (scan-build).
parent
de1dd6cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vbregexp.c
dlls/vbscript/vbregexp.c
+2
-2
No files found.
dlls/vbscript/vbregexp.c
View file @
449bdc33
...
...
@@ -1024,12 +1024,12 @@ static HRESULT add_match(IMatchCollection2 *iface, IMatch2 *add)
TRACE
(
"(%p)->(%p)
\n
"
,
This
,
add
);
if
(
!
This
->
size
)
{
This
->
matches
=
malloc
(
8
*
sizeof
(
IMatch
*
));
This
->
matches
=
malloc
(
8
*
sizeof
(
*
This
->
matches
));
if
(
!
This
->
matches
)
return
E_OUTOFMEMORY
;
This
->
size
=
8
;
}
else
if
(
This
->
size
==
This
->
count
)
{
IMatch2
**
new_matches
=
realloc
(
This
->
matches
,
2
*
This
->
size
*
sizeof
(
IMatch
*
));
IMatch2
**
new_matches
=
realloc
(
This
->
matches
,
2
*
This
->
size
*
sizeof
(
*
This
->
matches
));
if
(
!
new_matches
)
return
E_OUTOFMEMORY
;
...
...
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