Patchwork [05/13] target-s390x: Add missing tcg_temp_free_i64() in gen_jcc()

login
register
mail settings
Submitter Alexander Graf
Date June 2, 2011, 6:51 a.m.
Message ID <1306997503-29304-6-git-send-email-agraf@suse.de>
Download mbox | patch
Permalink /patch/98560/
State New
Headers show

Comments

Alexander Graf - June 2, 2011, 6:51 a.m.
From: Stefan Weil <weil@mail.berlios.de>

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
---
 target-s390x/translate.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/target-s390x/translate.c b/target-s390x/translate.c
index 141a72f..6ec77ec 100644
--- a/target-s390x/translate.c
+++ b/target-s390x/translate.c
@@ -1095,6 +1095,7 @@  static void gen_jcc(DisasContext *s, uint32_t mask, int skip)
             tcg_gen_brcondi_i64(TCG_COND_EQ, tmp64, 0, skip);
             break;
         default:
+            tcg_temp_free_i64(tmp64);
             goto do_dynamic;
         }
         tcg_temp_free_i64(tmp64);