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
a6bdc471
Commit
a6bdc471
authored
Dec 10, 2008
by
Andrew Nguyen
Committed by
Alexandre Julliard
Dec 10, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Fix some errors detected by Valgrind.
parent
84abbd64
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
engine.c
dlls/jscript/engine.c
+2
-2
function.c
dlls/jscript/function.c
+0
-2
No files found.
dlls/jscript/engine.c
View file @
a6bdc471
...
...
@@ -1499,7 +1499,7 @@ HRESULT new_expression_eval(exec_ctx_t *ctx, expression_t *_expr, DWORD flags, j
HRESULT
call_expression_eval
(
exec_ctx_t
*
ctx
,
expression_t
*
_expr
,
DWORD
flags
,
jsexcept_t
*
ei
,
exprval_t
*
ret
)
{
call_expression_t
*
expr
=
(
call_expression_t
*
)
_expr
;
VARIANT
func
,
var
;
VARIANT
var
;
exprval_t
exprval
;
DISPPARAMS
dp
;
HRESULT
hres
;
...
...
@@ -1520,7 +1520,7 @@ HRESULT call_expression_eval(exec_ctx_t *ctx, expression_t *_expr, DWORD flags,
V_VT
(
&
var
)
=
VT_EMPTY
;
break
;
default:
FIXME
(
"unimplemented type %d
\n
"
,
V_VT
(
&
func
)
);
FIXME
(
"unimplemented type %d
\n
"
,
exprval
.
type
);
hres
=
E_NOTIMPL
;
}
...
...
dlls/jscript/function.c
View file @
a6bdc471
...
...
@@ -191,7 +191,6 @@ static HRESULT invoke_constructor(FunctionInstance *function, LCID lcid, DISPPAR
VARIANT
*
retv
,
jsexcept_t
*
ei
,
IServiceProvider
*
caller
)
{
DispatchEx
*
this_obj
;
VARIANT
var
;
HRESULT
hres
;
hres
=
create_object
(
function
->
dispex
.
ctx
,
&
function
->
dispex
,
&
this_obj
);
...
...
@@ -203,7 +202,6 @@ static HRESULT invoke_constructor(FunctionInstance *function, LCID lcid, DISPPAR
if
(
FAILED
(
hres
))
return
hres
;
VariantClear
(
&
var
);
V_VT
(
retv
)
=
VT_DISPATCH
;
V_DISPATCH
(
retv
)
=
(
IDispatch
*
)
_IDispatchEx_
(
this_obj
);
return
S_OK
;
...
...
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