Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
bac5fdc8
Commit
bac5fdc8
authored
Sep 07, 2012
by
Jacek Caban
Committed by
Alexandre Julliard
Sep 07, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
vbscript: Fixed class_desc_t leak.
parent
bc8876f9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
vbscript.c
dlls/vbscript/vbscript.c
+9
-0
No files found.
dlls/vbscript/vbscript.c
View file @
bac5fdc8
...
@@ -115,6 +115,8 @@ static HRESULT set_ctx_site(VBScript *This)
...
@@ -115,6 +115,8 @@ static HRESULT set_ctx_site(VBScript *This)
static
void
release_script
(
script_ctx_t
*
ctx
)
static
void
release_script
(
script_ctx_t
*
ctx
)
{
{
class_desc_t
*
class_desc
;
collect_objects
(
ctx
);
collect_objects
(
ctx
);
release_dynamic_vars
(
ctx
->
global_vars
);
release_dynamic_vars
(
ctx
->
global_vars
);
...
@@ -130,6 +132,13 @@ static void release_script(script_ctx_t *ctx)
...
@@ -130,6 +132,13 @@ static void release_script(script_ctx_t *ctx)
heap_free
(
iter
);
heap_free
(
iter
);
}
}
while
(
ctx
->
procs
)
{
class_desc
=
ctx
->
procs
;
ctx
->
procs
=
class_desc
->
next
;
heap_free
(
class_desc
);
}
if
(
ctx
->
host_global
)
{
if
(
ctx
->
host_global
)
{
IDispatch_Release
(
ctx
->
host_global
);
IDispatch_Release
(
ctx
->
host_global
);
ctx
->
host_global
=
NULL
;
ctx
->
host_global
=
NULL
;
...
...
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