Commit c47dfe45 authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

vbscript: Don't free procs allocated in the heap pool.

parent bdf905d6
......@@ -1002,13 +1002,6 @@ static ULONG WINAPI ScriptDisp_Release(IDispatchEx *iface)
if(!ref) {
assert(!This->ctx);
while (This->procs)
{
class_desc_t *class_desc = This->procs;
This->procs = class_desc->next;
heap_free(class_desc);
}
for (i = 0; i < This->global_vars_cnt; i++)
release_dynamic_var(This->global_vars[i]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment