Commit 664d8d1e authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

vbscript: Fix destroying safearrays in release_exec.

parent 24426858
......@@ -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]);
}
......
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