Browse code

Fix memory leak.

make check VG=1 passes now!

Török Edvin authored on 2009/09/01 04:56:36
Showing 1 changed files
... ...
@@ -353,7 +353,7 @@ static always_inline struct stack_entry *pop_stack(struct stack *stack,
353 353
 #define DEFINE_BINOP(opc, OP) DEFINE_BINOP_HELPER(opc, OP, WRITE8, WRITE8, WRITE16, WRITE32, WRITE64)
354 354
 #define DEFINE_ICMPOP(opc, OP) DEFINE_BINOP_HELPER(opc, OP, WRITE8, WRITE8, WRITE8, WRITE8, WRITE8)
355 355
 
356
-#define CHECK_OP(cond, msg) if((cond)) { cli_dbgmsg(msg); return CL_EBYTECODE;}
356
+#define CHECK_OP(cond, msg) if((cond)) { cli_dbgmsg(msg); stop = CL_EBYTECODE; break;}
357 357
 
358 358
 #define DEFINE_CASTOP(opc, OP) \
359 359
     case opc*5: {\