vbscript: Fixed a leak.

This commit is contained in:
Jacek Caban 2014-03-24 13:49:33 +01:00 committed by Alexandre Julliard
parent 2010816240
commit 7aaf597db1
1 changed files with 4 additions and 2 deletions

View File

@ -873,8 +873,10 @@ static HRESULT compile_select_statement(compile_ctx_t *ctx, select_statement_t *
if(FAILED(hres))
break;
if(!emit_catch_jmp(ctx, 0, case_labels[i]))
return E_OUTOFMEMORY;
if(!emit_catch_jmp(ctx, 0, case_labels[i])) {
hres = E_OUTOFMEMORY;
break;
}
}
}