vbscript: Fix destroying safearrays in release_exec.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
244268589e
commit
664d8d1e13
|
@ -2274,7 +2274,7 @@ static void release_exec(exec_ctx_t *ctx)
|
|||
}
|
||||
|
||||
if(ctx->arrays) {
|
||||
for(i=0; i < ctx->func->var_cnt; i++) {
|
||||
for(i=0; i < ctx->func->array_cnt; i++) {
|
||||
if(ctx->arrays[i])
|
||||
SafeArrayDestroy(ctx->arrays[i]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue