From 1aa6236428ad4254d7024e023d8561b2abb47a0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Tue, 30 Oct 2012 20:07:10 +0100 Subject: [PATCH] vbscript: Avoid memory leak in compile_select_statement (coverity). --- dlls/vbscript/compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/vbscript/compile.c b/dlls/vbscript/compile.c index 58afdf406a2..d3242840c7e 100644 --- a/dlls/vbscript/compile.c +++ b/dlls/vbscript/compile.c @@ -836,7 +836,7 @@ static HRESULT compile_select_statement(compile_ctx_t *ctx, select_statement_t * hres = push_instr_addr(ctx, OP_jmp, end_label); if(FAILED(hres)) - return hres; + break; } heap_free(case_labels);