aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--target-ppc/translate_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-ppc/translate_init.c b/target-ppc/translate_init.c
index 40e652732a..1c0a044dbe 100644
--- a/target-ppc/translate_init.c
+++ b/target-ppc/translate_init.c
@@ -474,6 +474,7 @@ static void spr_write_excp_prefix (void *opaque, int sprn, int gprn)
tcg_gen_and_tl(t0, t0, cpu_gpr[gprn]);
tcg_gen_st_tl(t0, cpu_env, offsetof(CPUState, excp_prefix));
gen_store_spr(sprn, t0);
+ tcg_temp_free(t0);
}
static void spr_write_excp_vector (void *opaque, int sprn, int gprn)