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
44333104
Commit
44333104
authored
Sep 10, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jscript: Release named items in IActiveScript::Close.
parent
0c6b804e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
jscript.c
dlls/jscript/jscript.c
+15
-0
No files found.
dlls/jscript/jscript.c
View file @
44333104
...
...
@@ -305,6 +305,21 @@ static HRESULT WINAPI JScript_Close(IActiveScript *iface)
clear_script_queue
(
This
);
if
(
This
->
ctx
->
named_items
)
{
named_item_t
*
iter
,
*
iter2
;
iter
=
This
->
ctx
->
named_items
;
while
(
iter
)
{
iter2
=
iter
->
next
;
IDispatch_Release
(
iter
->
disp
);
heap_free
(
iter
);
iter
=
iter2
;
}
This
->
ctx
->
named_items
=
NULL
;
}
if
(
This
->
ctx
)
{
change_state
(
This
,
SCRIPTSTATE_CLOSED
);
...
...
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