[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 1/8] target/ppc: Fix TCG temporary leaks in gen_bcond
From: |
David Gibson |
Subject: |
[Qemu-devel] [PULL 1/8] target/ppc: Fix TCG temporary leaks in gen_bcond() |
Date: |
Fri, 29 Mar 2019 14:29:22 +1100 |
From: Greg Kurz <address@hidden>
Signed-off-by: Greg Kurz <address@hidden>
Message-Id: <address@hidden>
Tested-by: Suraj Jitindar Singh <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
target/ppc/translate.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/target/ppc/translate.c b/target/ppc/translate.c
index 98b37cebc2..aaafa3a715 100644
--- a/target/ppc/translate.c
+++ b/target/ppc/translate.c
@@ -3749,6 +3749,8 @@ static void gen_bcond(DisasContext *ctx, int type)
TCGv temp = tcg_temp_new();
if (unlikely(type == BCOND_CTR)) {
gen_inval_exception(ctx, POWERPC_EXCP_INVAL_INVAL);
+ tcg_temp_free(temp);
+ tcg_temp_free(target);
return;
}
tcg_gen_subi_tl(cpu_ctr, cpu_ctr, 1);
--
2.20.1
- [Qemu-devel] [PULL 0/8] ppc-for-4.0 queue 20190329, David Gibson, 2019/03/28
- [Qemu-devel] [PULL 1/8] target/ppc: Fix TCG temporary leaks in gen_bcond(),
David Gibson <=
- [Qemu-devel] [PULL 8/8] exec: Only count mapped memory backends for qemu_getrampagesize(), David Gibson, 2019/03/28
- [Qemu-devel] [PULL 6/8] spapr: Simplify handling of host-serial and host-model values, David Gibson, 2019/03/28
- [Qemu-devel] [PULL 5/8] target/ppc: Fix QEMU crash with stxsdx, David Gibson, 2019/03/28
- Re: [Qemu-devel] [PULL 0/8] ppc-for-4.0 queue 20190329, Peter Maydell, 2019/03/29