=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: vbscript: Avoid memory leak in compile_select_statement (coverity).
Alexandre Julliard
julliard at winehq.org
Wed Oct 31 17:17:21 CDT 2012
Module: wine
Branch: master
Commit: 1aa6236428ad4254d7024e023d8561b2abb47a0c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1aa6236428ad4254d7024e023d8561b2abb47a0c
Author: André Hentschel <nerv at dawncrow.de>
Date: Tue Oct 30 20:07:10 2012 +0100
vbscript: Avoid memory leak in compile_select_statement (coverity).
---
dlls/vbscript/compile.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/vbscript/compile.c b/dlls/vbscript/compile.c
index 58afdf4..d324284 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);
More information about the wine-cvs
mailing list