Commit d685a07f authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

vbscript: Add missing error handling in interp_jmp_false.

parent b87134a4
...@@ -391,6 +391,9 @@ static HRESULT interp_jmp_false(exec_ctx_t *ctx) ...@@ -391,6 +391,9 @@ static HRESULT interp_jmp_false(exec_ctx_t *ctx)
TRACE("%u\n", arg); TRACE("%u\n", arg);
hres = stack_pop_val(ctx, &val); hres = stack_pop_val(ctx, &val);
if(FAILED(hres))
return hres;
if(V_VT(val.v) != VT_BOOL) { if(V_VT(val.v) != VT_BOOL) {
FIXME("unsupported for %s\n", debugstr_variant(val.v)); FIXME("unsupported for %s\n", debugstr_variant(val.v));
release_val(&val); release_val(&val);
......
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