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

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Gabriel Ivăncescu 2019-12-09 17:27:56 +02:00 committed by Alexandre Julliard
parent bdf905d661
commit c47dfe45c7
1 changed files with 0 additions and 7 deletions

View File

@ -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]);