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
339ec9c4
Commit
339ec9c4
authored
Mar 15, 2013
by
Marcus Meissner
Committed by
Alexandre Julliard
Mar 25, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Check the correct heap return condition (Coverity).
parent
99982f88
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
jsregexp.c
dlls/jscript/jsregexp.c
+1
-1
No files found.
dlls/jscript/jsregexp.c
View file @
339ec9c4
...
@@ -609,7 +609,7 @@ HRESULT create_regexp(script_ctx_t *ctx, jsstr_t *src, DWORD flags, jsdisp_t **r
...
@@ -609,7 +609,7 @@ HRESULT create_regexp(script_ctx_t *ctx, jsstr_t *src, DWORD flags, jsdisp_t **r
regexp
->
jsregexp
=
regexp_new
(
ctx
,
&
ctx
->
tmp_heap
,
regexp
->
str
->
str
,
regexp
->
jsregexp
=
regexp_new
(
ctx
,
&
ctx
->
tmp_heap
,
regexp
->
str
->
str
,
jsstr_length
(
regexp
->
str
),
flags
,
FALSE
);
jsstr_length
(
regexp
->
str
),
flags
,
FALSE
);
if
(
FAILED
(
hres
)
)
{
if
(
!
regexp
->
jsregexp
)
{
WARN
(
"regexp_new failed
\n
"
);
WARN
(
"regexp_new failed
\n
"
);
jsdisp_release
(
&
regexp
->
dispex
);
jsdisp_release
(
&
regexp
->
dispex
);
return
E_FAIL
;
return
E_FAIL
;
...
...
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