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
c90c3930
Commit
c90c3930
authored
Oct 14, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Oct 14, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Make sure to remove an object from object list in collect_objects.
parent
4b9d2184
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
vbdisp.c
dlls/vbscript/vbdisp.c
+5
-1
No files found.
dlls/vbscript/vbdisp.c
View file @
c90c3930
...
...
@@ -495,10 +495,14 @@ void collect_objects(script_ctx_t *ctx)
LIST_FOR_EACH_ENTRY_SAFE
(
iter
,
iter2
,
&
ctx
->
objects
,
vbdisp_t
,
entry
)
run_terminator
(
iter
);
LIST_FOR_EACH_ENTRY_SAFE
(
iter
,
iter2
,
&
ctx
->
objects
,
vbdisp_t
,
entry
)
{
while
(
!
list_empty
(
&
ctx
->
objects
))
{
iter
=
LIST_ENTRY
(
list_head
(
&
ctx
->
objects
),
vbdisp_t
,
entry
);
IDispatchEx_AddRef
(
&
iter
->
IDispatchEx_iface
);
clean_props
(
iter
);
iter
->
desc
=
NULL
;
list_remove
(
&
iter
->
entry
);
list_init
(
&
iter
->
entry
);
IDispatchEx_Release
(
&
iter
->
IDispatchEx_iface
);
}
}
...
...
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