[PATCH] vbscript: Don't free procs allocated in the heap pool.
gabrielopcode at gmail.com
Mon Dec 9 09:27:56 CST 2019
Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
As far as I can see, these procs are allocated in compiler.c into the
vbscode's heap pool, and freeing them with heap_free is obviously wrong.
dlls/vbscript/vbdisp.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/dlls/vbscript/vbdisp.c b/dlls/vbscript/vbdisp.c
index 2e59051..47ecc15 100644
@@ -1002,13 +1002,6 @@ static ULONG WINAPI ScriptDisp_Release(IDispatchEx *iface)
- while (This->procs)
- class_desc_t *class_desc = This->procs;
- This->procs = class_desc->next;
for (i = 0; i < This->global_vars_cnt; i++)
More information about the wine-devel