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
ea5c94f8
Commit
ea5c94f8
authored
Jul 16, 2009
by
Piotr Caban
Committed by
Alexandre Julliard
Jul 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Fix create_exec_ctx implementation.
parent
8e1233ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
engine.c
dlls/jscript/engine.c
+2
-0
function.c
dlls/jscript/function.c
+3
-2
No files found.
dlls/jscript/engine.c
View file @
ea5c94f8
...
...
@@ -179,6 +179,8 @@ HRESULT create_exec_ctx(IDispatch *this_obj, DispatchEx *var_disp, scope_chain_t
if
(
!
ctx
)
return
E_OUTOFMEMORY
;
ctx
->
ref
=
1
;
IDispatch_AddRef
(
this_obj
);
ctx
->
this_obj
=
this_obj
;
...
...
dlls/jscript/function.c
View file @
ea5c94f8
...
...
@@ -197,9 +197,10 @@ static HRESULT invoke_constructor(FunctionInstance *function, LCID lcid, DISPPAR
return
hres
;
hres
=
invoke_source
(
function
,
(
IDispatch
*
)
_IDispatchEx_
(
this_obj
),
lcid
,
dp
,
retv
,
ei
,
caller
);
jsdisp_release
(
this_obj
);
if
(
FAILED
(
hres
))
if
(
FAILED
(
hres
))
{
jsdisp_release
(
this_obj
);
return
hres
;
}
V_VT
(
retv
)
=
VT_DISPATCH
;
V_DISPATCH
(
retv
)
=
(
IDispatch
*
)
_IDispatchEx_
(
this_obj
);
...
...
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