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
7b48298e
Commit
7b48298e
authored
Mar 27, 2008
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mshtml: Don't access released object in release_script_hosts.
parent
6bc8e9a1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
script.c
dlls/mshtml/script.c
+5
-2
No files found.
dlls/mshtml/script.c
View file @
7b48298e
...
@@ -304,8 +304,11 @@ void release_script_hosts(HTMLDocument *doc)
...
@@ -304,8 +304,11 @@ void release_script_hosts(HTMLDocument *doc)
{
{
ScriptHost
*
iter
;
ScriptHost
*
iter
;
LIST_FOR_EACH_ENTRY
(
iter
,
&
doc
->
script_hosts
,
ScriptHost
,
entry
)
{
while
(
!
list_empty
(
&
doc
->
script_hosts
))
{
iter
=
LIST_ENTRY
(
list_head
(
&
doc
->
script_hosts
),
ScriptHost
,
entry
);
list_remove
(
&
iter
->
entry
);
iter
->
doc
=
NULL
;
iter
->
doc
=
NULL
;
IActiveScript
Site
_Release
(
ACTSCPSITE
(
iter
));
IActiveScript_Release
(
ACTSCPSITE
(
iter
));
}
}
}
}
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