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
172fa4fa
Commit
172fa4fa
authored
Nov 25, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Fixed memory leaks.
Spotted by Piotr.
parent
400c887e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
engine.c
dlls/jscript/engine.c
+3
-0
No files found.
dlls/jscript/engine.c
View file @
172fa4fa
...
@@ -2290,6 +2290,8 @@ HRESULT interp_add(exec_ctx_t *ctx)
...
@@ -2290,6 +2290,8 @@ HRESULT interp_add(exec_ctx_t *ctx)
TRACE
(
"%s + %s
\n
"
,
debugstr_variant
(
l
),
debugstr_variant
(
r
));
TRACE
(
"%s + %s
\n
"
,
debugstr_variant
(
l
),
debugstr_variant
(
r
));
hres
=
add_eval
(
ctx
->
parser
->
script
,
l
,
r
,
&
ctx
->
ei
,
&
ret
);
hres
=
add_eval
(
ctx
->
parser
->
script
,
l
,
r
,
&
ctx
->
ei
,
&
ret
);
VariantClear
(
l
);
VariantClear
(
r
);
if
(
FAILED
(
hres
))
if
(
FAILED
(
hres
))
return
hres
;
return
hres
;
...
@@ -3362,6 +3364,7 @@ static HRESULT interp_tree(exec_ctx_t *ctx)
...
@@ -3362,6 +3364,7 @@ static HRESULT interp_tree(exec_ctx_t *ctx)
return
hres
;
return
hres
;
hres
=
exprval_to_value
(
ctx
->
parser
->
script
,
&
val
,
&
ctx
->
ei
,
&
v
);
hres
=
exprval_to_value
(
ctx
->
parser
->
script
,
&
val
,
&
ctx
->
ei
,
&
v
);
exprval_release
(
&
val
);
if
(
FAILED
(
hres
))
if
(
FAILED
(
hres
))
return
hres
;
return
hres
;
...
...
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