vbscript: Don't leak IEnumVARIANT in interp_enumnext.
Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a2438ce810
commit
f595523413
|
@ -1203,7 +1203,7 @@ static HRESULT interp_enumnext(exec_ctx_t *ctx)
|
||||||
if(do_continue) {
|
if(do_continue) {
|
||||||
ctx->instr++;
|
ctx->instr++;
|
||||||
}else {
|
}else {
|
||||||
stack_pop(ctx);
|
stack_popn(ctx, 1);
|
||||||
instr_jmp(ctx, loop_end);
|
instr_jmp(ctx, loop_end);
|
||||||
}
|
}
|
||||||
return S_OK;
|
return S_OK;
|
||||||
|
|
Loading…
Reference in New Issue